widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #17748
[Merge] lp:~widelands-dev/widelands/bug-1825486-inputqueue-test-wait-longer into lp:widelands
GunChleoc has proposed merging lp:~widelands-dev/widelands/bug-1825486-inputqueue-test-wait-longer into lp:widelands.
Commit message:
Wait longer after save in input queue test
Requested reviews:
Widelands Developers (widelands-dev)
Related bugs:
Bug #1825486 in widelands: "input_queues test will often stall"
https://bugs.launchpad.net/widelands/+bug/1825486
For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/bug-1825486-inputqueue-test-wait-longer/+merge/369200
Let's see f this fixes the input queues
--
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/bug-1825486-inputqueue-test-wait-longer 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-22 09:15:18 +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