Commit fb23322
committed
test: reconnect to console after server restart
The scenario is the following:
1. Create and start a server (TarantoolServer instance).
2. Stop it.
3. Call `<server>.admin(<command>)`.
I intend to follow this scenario in a test case in the following commit.
We should close old socket at stopping the server, because an attempt to
write to the old socket may not fail even if the other end is already
gone. If we'll close the console connection (TarantoolAdmin instance)
explicitly, it'll be reconnected at the next usage.
Part of #1111 parent ad36ab0 commit fb23322
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
| |||
0 commit comments