Open
Description
- Tarantool process is not killed when tests fail with
panic()
. I don't know why. The test has a linedefer test_helpers.StopTarantoolWithCleanup(instance)
, according to blog post Defer, Panic, and Recover deferred function should be executed eve in case ofpanic()
:
Panic is a built-in function that stops the ordinary flow of control and begins panicking. When the function F calls panic, execution of F stops, any deferred functions in F are executed normally, and then F returns to its caller. To the caller, F then behaves like a call to panic. The process continues up the stack until all functions in the current goroutine have returned, at which point the program crashes. Panics can be initiated by invoking panic directly. They can also be caused by runtime errors, such as out-of-bounds array accesses.
- on next attempt to run tests
StartTarantool()
is not failed when Tarantool is already run on the same TCP port
Version: d3b5696