mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Tweak unit test to reduce likelihood of flake under heavy load
https://buildkite.com/ankitects/anki-ci/builds/5698#0187bd42-c032-4078-909d-035a57892e0e
This commit is contained in:
parent
d4675e4ee9
commit
54678bff63
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ def test_learn():
|
|||
col.sched.answerCard(c, 3)
|
||||
# it should be due in 10 minutes
|
||||
dueIn = c.due - time.time()
|
||||
assert 599 <= dueIn <= 600 * 1.25
|
||||
assert 598 <= dueIn <= 600 * 1.25
|
||||
assert c.left % 1000 == 1
|
||||
# the next pass should graduate the card
|
||||
assert c.queue == QUEUE_TYPE_LRN
|
||||
|
|
Loading…
Reference in a new issue