Commit e99ce45
test: dont os.exit() in session disconnect trigger
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 tarantool/tarantool#94571 parent f900aeb commit e99ce45
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
95 | | - | |
| 94 | + | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
| |||
0 commit comments