From 2a213d93020eecb91bc4dc4b36da83adb46b954e Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 10 May 2018 18:03:47 +0200 Subject: [PATCH] try to analyze intermittent bug on travis --- scripts/tests/e3/buildings.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/tests/e3/buildings.lua b/scripts/tests/e3/buildings.lua index 709e7df74..e642c1aa7 100644 --- a/scripts/tests/e3/buildings.lua +++ b/scripts/tests/e3/buildings.lua @@ -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)