widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #17791
[Merge] lp:~widelands-dev/widelands/bug-1825486-inputqueue-test2 into lp:widelands
GunChleoc has proposed merging lp:~widelands-dev/widelands/bug-1825486-inputqueue-test2 into lp:widelands.
Commit message:
Wait longer in stable_save
Requested reviews:
Widelands Developers (widelands-dev)
For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/bug-1825486-inputqueue-test2/+merge/369238
--
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/bug-1825486-inputqueue-test2 into lp:widelands.
=== modified file 'test/maps/plain.wmf/scripting/test_inputqueues.lua'
--- test/maps/plain.wmf/scripting/test_inputqueues.lua 2018-10-27 09:45:14 +0000
+++ test/maps/plain.wmf/scripting/test_inputqueues.lua 2019-06-24 10:23:26 +0000
@@ -47,7 +47,8 @@
assert_all_queues_are_full(b)
stable_save(game, "inputqueues")
- sleep(1000)
+ -- If we don't sleep long enough, this test can stall.
+ sleep(10 * game.desired_speed)
assert_all_queues_are_full(b)
Follow ups