fix intermittent piracy test.

https://bugs.eressea.de/view.php?id=2233
This commit is contained in:
Enno Rehling 2016-09-02 09:09:55 +02:00
parent b321918cd1
commit 02374cd492
1 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,7 @@ module("tests.e2.movement", package.seeall, lunit.testcase)
function setup()
eressea.free_game()
eressea.settings.set("rules.food.flags", "4")
eressea.settings.set("nmr.timeout", "0")
eressea.settings.set("NewbieImmunity", "0")
end
@ -29,7 +30,9 @@ end
process_orders()
-- write_reports()
if r2~=u1.region then
write_reports()
end
assert_equal(r2, u1.region) -- should pass, but fails!!!
end