Tarantool development patches archive
 help / color / mirror / Atom feed
From: Serge Petrenko <sergepetrenko@tarantool.org>
To: vdavydov.dev@gmail.com
Cc: tarantool-patches@freelists.org,
	Serge Petrenko <sergepetrenko@tarantool.org>
Subject: [PATCH v2 0/2] Rework on_shutdown test for better stability.
Date: Fri, 12 Apr 2019 17:33:38 +0300	[thread overview]
Message-ID: <cover.1555079382.git.sergepetrenko@tarantool.org> (raw)

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)

             reply	other threads:[~2019-04-12 14:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-12 14:33 Serge Petrenko [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1555079382.git.sergepetrenko@tarantool.org \
    --to=sergepetrenko@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --cc=vdavydov.dev@gmail.com \
    --subject='Re: [PATCH v2 0/2] Rework on_shutdown test for better stability.' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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