tarantool / test-run

Tarantool functional testing framework
14 stars 15 forks source link

Terminate Tarantool with SIGTERM, not SIGKILL #318

Open NickVolynkin opened 2 years ago

NickVolynkin commented 2 years ago

SIGTERM'ed Tarantool can run box.ctl.on_shutdown, enabling https://github.com/tarantool/luatest/issues/225

Totktonada commented 2 years ago

It is for situations like https://github.com/tarantool/tarantool/issues/4127 and test-run tries SIGTERM first. If you found a situation, when tarantool instances are SIGKILLed, when they shouldn't, please, share reproducer and all details.

Totktonada commented 2 years ago

Now the issue includes a link to https://github.com/tarantool/luatest/issues/225. But I still don't see why the first attempt to stop an instance with SIGTERM does not work for your case. Can you at least share a reproducer?