try to analyze intermittent bug on travis

This commit is contained in:
Enno Rehling 2018-05-10 18:03:47 +02:00
parent 8c7b890f3e
commit 2a213d9302
1 changed files with 5 additions and 0 deletions

View File

@ -41,6 +41,11 @@ function test_build_watch()
u:add_order("MACHE Wache")
process_orders()
assert_not_nil(u.building)
if 5 ~= u.building.size then
for k,v in f.messages do
print(v)
end
end
assert_equal(5, u.building.size)
u:set_skill("building", 2)