History log of /unit/test/test_respawn.py (Results 1 – 12 of 12)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 2073:bc6ad31ce286 11-Apr-2022 Andrei Zeliankou

Tests: style.


Revision tags: 1.26.1-1, 1.26.1, 1.26.0-1, 1.26.0, 1.25.0-1, 1.25.0
# 1906:d658eb4227b5 01-Jul-2021 Max Romanov

Tests: fixing racing condition in respawn tests.

A race may occur between the router process restart and the main process
sending a notification to the running controller. For example, a test scrip

Tests: fixing racing condition in respawn tests.

A race may occur between the router process restart and the main process
sending a notification to the running controller. For example, a test script
detects the new process and starts performing a smoke test, but the controller
has not yet received the 'remove PID' notification, so the connection to the
router is broken and any attempt to update the configuration will cause an
error.

The solution is to perform several attempts to reconfigure Unit with a short
delay between failures.

show more ...


Revision tags: 1.24.0-1, 1.24.0
# 1848:4bd548074e2c 05-Apr-2021 Andrei Zeliankou

Tests: style.


# 1844:3f051e80f705 31-Mar-2021 Andrei Zeliankou

Tests: added file descriptor leak detection.


Revision tags: 1.23.0-1, 1.23.0, 1.22.0-1, 1.22.0
# 1769:b7cd1517081e 08-Jan-2021 Tiago Natel de Moura

Tests: fixed test_respawn.py to act upon test processes.

Running `test_respawn_` test cases on a machine with Unit
daemon in background would fail tests because `ps ax` was
used without filtering ou

Tests: fixed test_respawn.py to act upon test processes.

Running `test_respawn_` test cases on a machine with Unit
daemon in background would fail tests because `ps ax` was
used without filtering out other unit instances.

This patch also prevents from tests killing other Unit
processes not related to tests.

show more ...


# 1736:22db875fda34 08-Dec-2020 Andrei Zeliankou

Tests: skip_alert() converted to the fixture.


# 1730:44912af5b3e6 06-Dec-2020 Andrei Zeliankou

Tests: options moved to the separate class.

This change is necessary to separate the logic
and prevent possible circular dependency.


Revision tags: 1.21.0-1, 1.21.0
# 1654:fc7d0578e124 19-Oct-2020 Andrei Zeliankou

Tests: fixed unit.log print.


Revision tags: 1.20.0-1, 1.20.0
# 1635:97afbb6c5a15 07-Oct-2020 Andrei Zeliankou

Tests: minor fixes.


# 1596:b7e2d4d92624 16-Sep-2020 Andrei Zeliankou

Tests: migrated to the pytest.


Revision tags: 1.19.0-1, 1.19.0, 1.18.0-1, 1.18.0
# 1477:b93d1acf81bd 15-May-2020 Andrei Zeliankou

Tests: style.


# 1471:38ede0766e1a 12-May-2020 Andrei Zeliankou

Tests: added respawn tests.