[tarantool-patches] Re: [PATCH] test: rework box/misc test part regarding on_shutdown triggers

Serge Petrenko sergepetrenko at tarantool.org
Fri Apr 12 17:35:24 MSK 2019



> 12 апр. 2019 г., в 17:20, Vladimir Davydov <vdavydov.dev at gmail.com> написал(а):
> 
> On Fri, Apr 12, 2019 at 05:12:11PM +0300, Serge Petrenko wrote:
>>>> test_run:cmd("switch default")
>>>> +test_run:eval("test", "_ = fiber.new(function() os.exit() while true do end end)")
>>> 
>>> This is supposed to stop the default instance?!
>> 
>> No, it’s evaled on ’test’, which is the other instance. And that’s why we need the require(‘fiber’) above.
>> Anyways, will split the patch in two and resend.
> 
> Missed the eval, sorry.
It’s ok.
I’ve resent the patch. Please see '[PATCH v2 0/2] Rework on_shutdown test for better stability.'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20190412/b0778c1e/attachment.html>


More information about the Tarantool-patches mailing list