12 апр. 2019 г., в 17:20, Vladimir Davydov <vdavydov.dev@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.'