Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v1] test: flaky sql/gh2483-remote-persistency-* test
@ 2020-11-11  5:50 Alexander V. Tikhonov
  0 siblings, 0 replies; only message in thread
From: Alexander V. Tikhonov @ 2020-11-11  5:50 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:
  Test hung! Result content mismatch:

   - [1]
   ...
   test_run:cmd("restart server default")
  --- Connect to ourself

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-gh2483
Issue: https://github.com/tarantool/tarantool/issues/5510

 test/sql/gh2483-remote-persistency-check.result   | 2 +-
 test/sql/gh2483-remote-persistency-check.test.lua | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/sql/gh2483-remote-persistency-check.result b/test/sql/gh2483-remote-persistency-check.result
index 3ee49b349..185629827 100644
--- a/test/sql/gh2483-remote-persistency-check.result
+++ b/test/sql/gh2483-remote-persistency-check.result
@@ -32,7 +32,7 @@ box.execute([[SELECT * FROM t]])
   rows:
   - [1]
 ...
-test_run:cmd('restart server default');
+test_run:cmd('restart server default with signal=KILL');
 -- Connect to ourself
 c = require('net.box').connect(os.getenv("LISTEN"))
 ---
diff --git a/test/sql/gh2483-remote-persistency-check.test.lua b/test/sql/gh2483-remote-persistency-check.test.lua
index b36b402fb..fca8dad47 100644
--- a/test/sql/gh2483-remote-persistency-check.test.lua
+++ b/test/sql/gh2483-remote-persistency-check.test.lua
@@ -13,7 +13,7 @@ box.execute([[INSERT INTO t (id) VALUES (1)]])
 -- Sanity check
 box.execute([[SELECT * FROM t]])
 
-test_run:cmd('restart server default');
+test_run:cmd('restart server default with signal=KILL');
 
 -- Connect to ourself
 c = require('net.box').connect(os.getenv("LISTEN"))
-- 
2.25.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-11  5:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-11  5:50 [Tarantool-patches] [PATCH v1] test: flaky sql/gh2483-remote-persistency-* 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