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

Vladimir Davydov vdavydov.dev at gmail.com
Fri Apr 12 17:20:57 MSK 2019


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.



More information about the Tarantool-patches mailing list