Tarantool development patches archive
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Rework on_shutdown test for better stability.
@ 2019-04-12 14:33 Serge Petrenko
  2019-04-12 14:33 ` [PATCH v2 1/2] test: extract on_shutdown tests from box/misc Serge Petrenko
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Serge Petrenko @ 2019-04-12 14:33 UTC (permalink / raw)
  To: vdavydov.dev; +Cc: tarantool-patches, Serge Petrenko

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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-12 14:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-12 14:33 [PATCH v2 0/2] Rework on_shutdown test for better stability Serge Petrenko
2019-04-12 14:33 ` [PATCH v2 1/2] test: extract on_shutdown tests from box/misc Serge Petrenko
2019-04-12 14:33 ` [PATCH v2 2/2] test: rework box/on_shutdown test Serge Petrenko
2019-04-12 14:49 ` [PATCH v2 0/2] Rework on_shutdown test for better stability Vladimir Davydov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox