[PATCH v2 0/2] Rework on_shutdown test for better stability.

Serge Petrenko sergepetrenko at tarantool.org
Fri Apr 12 17:33:38 MSK 2019


https://github.com/tarantool/tarantool/issues/4134
https://github.com/tarantool/tarantool/tree/sp/gh-4134-rework-on-shutdown-tests

Changes in v2:
  - separated a single patch into two.

First patch extracts on_shutdown subtest from box/misc.test.lua into a separate file:
box/on_shutdown.test.lua

Second patch alters on_shutdown tests slightly to make them less dependent on
hardcoded timeouts (sleeps, etc.), which are exceeded under high load causing
test failures.

Serge Petrenko (2):
  test: extract on_shutdown tests from box/misc
  test: rework box/on_shutdown test

 test/box/misc.result          | 161 ---------------------------------
 test/box/misc.test.lua        |  61 -------------
 test/box/on_shutdown.result   | 163 ++++++++++++++++++++++++++++++++++
 test/box/on_shutdown.test.lua |  65 ++++++++++++++
 4 files changed, 228 insertions(+), 222 deletions(-)
 create mode 100644 test/box/on_shutdown.result
 create mode 100644 test/box/on_shutdown.test.lua

-- 
2.20.1 (Apple Git-117)




More information about the Tarantool-patches mailing list