tests: improve integration test #957
Labels
3sp
code health
Improve code readability, simplify maintenance and so on
flaky test
The issue describes the problem with the test being flaky
python
Pull requests that update Python code
Suggestion: move methods
start_app()
andstop_app()
in common utilities for integration tests.Also, it would be useful to use
Python
class with destructor__exit__(self, ...)
to catch and stop running instance of testing application.See also
kill_remain_processes_wrapper()
method attt/test/integration/connect/test_connect.py
it kills a lot of stuckwatchdog
processes:/tmp/pytest-of-runner/pytest-0/tt_build0/tt --cfg /tmp/pytest-of-runner/pytest-0/cartridge_app0/tt.yaml start
--watchdog
cartridge_app:***
. So stopping theapp
should down such processes as well, too.The text was updated successfully, but these errors were encountered: