mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
DEV: correct flaky test, insufficient timeout
In some cases with all the new mitigations the 10ms delay is no longer enough. Wait up to 1 second here instead.
This commit is contained in:
parent
6580025af9
commit
170c66c190
@ -85,7 +85,7 @@ describe Scheduler::Defer do
|
||||
x = 3
|
||||
end
|
||||
|
||||
wait_for(10) do
|
||||
wait_for(1000) do
|
||||
x == 3
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user