tarantool / queue

Create task queues, add and take jobs, monitor failed tasks
Other
237 stars 52 forks source link

test: dont os.exit() in session disconnect trigger #223

Closed nshy closed 9 months ago

nshy commented 9 months ago

We are going to make Tarantool shutdown graceful. Particularly for iproto graceful shutdown we wait while all connections are finished. On connection disconnect session disconnect triggers are invoked. If trigger hangs then graceful shutdown will hang too. And os.exit() do hang, it sleeps forever.

So 110-disconnect-trigger-check.t test now hangs with iproto graceful shutdown patch.

Making os.exit() from disconnect trigger does not seem as a product case. So let's just change the test not to use os.exit().

Required for full-ci pass of https://github.com/tarantool/tarantool/pull/9457