* [Tarantool-patches] [PATCH v1] test: flaky engine/json.test.lua test
@ 2020-11-10 13:46 Alexander V. Tikhonov
0 siblings, 0 replies; only message in thread
From: Alexander V. Tikhonov @ 2020-11-10 13:46 UTC (permalink / raw)
To: Kirill Yukhin; +Cc: tarantool-patches
Found issue:
No output during 120 seconds. Will abort after 120 seconds without output. List of workers not reporting the status:
- 001_engine [engine/json.test.lua, memtx] at var/001_engine/json.result:598
Test hung! Result content mismatch:
--- engine/json.result Fri Nov 6 08:35:45 2020
+++ var/001_engine/json.result Mon Nov 9 03:48:40 2020
@@ -596,248 +596,3 @@
- ok
...
test_run:cmd("restart server default")
-engine = test_run:get_cfg('engine')
----
-…
It happened because test-run used to restart 'tarantoolctl restart'
routine with default signal SIGTERM. After tarantoolctl updated with
the ability to provide needed signal to kill the instance, then SIGKILL
was set in the test.
Part of #5510
---
Github: https://github.com/tarantool/tarantool/tree/avtikhon/gh-5510-hang-test-json
Issue: https://github.com/tarantool/tarantool/issues/5510
test/engine/json.result | 2 +-
test/engine/json.test.lua | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/engine/json.result b/test/engine/json.result
index b8fd9a1b6..0780c39b7 100644
--- a/test/engine/json.result
+++ b/test/engine/json.result
@@ -595,7 +595,7 @@ box.snapshot()
---
- ok
...
-test_run:cmd("restart server default")
+test_run:cmd("restart server default with signal=KILL")
engine = test_run:get_cfg('engine')
---
...
diff --git a/test/engine/json.test.lua b/test/engine/json.test.lua
index 371bbad91..427f14c36 100644
--- a/test/engine/json.test.lua
+++ b/test/engine/json.test.lua
@@ -170,7 +170,7 @@ name:select({})
name:select({'Max'})
name:get({'Max', 'Stierlitz', 'Otto'})
box.snapshot()
-test_run:cmd("restart server default")
+test_run:cmd("restart server default with signal=KILL")
engine = test_run:get_cfg('engine')
s = box.space["withdata"]
pk = s.index["pk"]
--
2.25.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-10 13:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 13:46 [Tarantool-patches] [PATCH v1] test: flaky engine/json.test.lua test Alexander V. Tikhonov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox