Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladimir Davydov <vdavydov.dev@gmail.com>
To: Sergey Petrenko <sergepetrenko@tarantool.org>
Cc: tarantool-patches@freelists.org, Kirill Yukhin <kyukhin@tarantool.org>
Subject: Re: [tarantool-patches] [PATCH] replication: fix a failing assert in replica_on_applier_disconnect()
Date: Tue, 7 Aug 2018 19:50:31 +0300	[thread overview]
Message-ID: <20180807165031.e2avj7waurok3zpk@esperanza> (raw)
In-Reply-To: <81999702-C603-423E-92C9-199CE605FED4@tarantool.org>

On Mon, Aug 06, 2018 at 05:14:05PM +0300, Sergey Petrenko wrote:
> diff --git a/test/replication/misc.test.lua b/test/replication/misc.test.lua
> index c05e52165..27c1a4821 100644
> --- a/test/replication/misc.test.lua
> +++ b/test/replication/misc.test.lua
> @@ -81,3 +81,15 @@ test_run:cmd("switch default")
>  test_run:drop_cluster(SERVERS)
>  
>  box.schema.user.revoke('guest', 'replication')
> +
> +-- gh-3510 assertion failure in replica_on_applier_disconnect()
> +test_run:cmd('create server er_load1 with script="replication/er_load1.lua"')
> +test_run:cmd('create server er_load2 with script="replication/er_load2.lua"')
> +test_run:cmd('start server er_load1 with wait=False, wait_load=False')
> +test_run:cmd('start server er_load2 with wait=False, wait_load=False')
> +require('fiber').sleep(0.5)
> +test_run:cmd('stop server er_load1')
> +require('fiber').sleep(1)

<kostja-mode>
  These sleep()'s are way too long. They will make our tests run forever.
  Please change to 0.00001 or smaller or rewrite the test so that you do
  not need them.
</kostja-mode>

  reply	other threads:[~2018-08-07 16:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-03  5:59 Serge Petrenko
2018-08-03 15:43 ` Vladimir Davydov
2018-08-03 15:57 ` [tarantool-patches] " Kirill Yukhin
2018-08-06 14:14   ` Sergey Petrenko
2018-08-07 16:50     ` Vladimir Davydov [this message]
2018-08-08 10:10       ` Sergey Petrenko
2018-08-08 10:58         ` Vladimir Davydov
2018-08-08 15:19           ` Sergey Petrenko

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=20180807165031.e2avj7waurok3zpk@esperanza \
    --to=vdavydov.dev@gmail.com \
    --cc=kyukhin@tarantool.org \
    --cc=sergepetrenko@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [tarantool-patches] [PATCH] replication: fix a failing assert in replica_on_applier_disconnect()' \
    /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