summaryrefslogtreecommitdiffhomepage
path: root/test/test_tls.py
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@gmail.com>2022-02-17 12:33:46 +0000
committerAndrew Clayton <andrew@digital-domain.net>2022-08-11 13:33:46 +0100
commit900828cc4b92e95b4810c00df9759ab9a07429c7 (patch)
tree2011d9fa7a2c7c91fda1f27db01c0db6adf0d21e /test/test_tls.py
parentd37b76232e9b513d109e61e4d5cb562541ed935c (diff)
downloadunit-900828cc4b92e95b4810c00df9759ab9a07429c7.tar.gz
unit-900828cc4b92e95b4810c00df9759ab9a07429c7.tar.bz2
Fixing isolated process PID manipulation.
Registering an isolated PID in the global PID hash is wrong because it can be duplicated. Isolated processes are stored only in the children list until the response for the WHOAMI message is processed and the global PID is discovered. To remove isolated siblings, a pointer to the children list is introduced in the nxt_process_init_t struct. This closes #633 issue on GitHub.
Diffstat (limited to '')
-rw-r--r--test/test_tls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_tls.py b/test/test_tls.py
index 5d4cead3..3fa5dabf 100644
--- a/test/test_tls.py
+++ b/test/test_tls.py
@@ -616,7 +616,7 @@ basicConstraints = critical,CA:TRUE"""
subprocess.check_output(['kill', '-9', app_id])
- skip_alert(r'process .* %s.* exited on signal 9' % app_id)
+ skip_alert(r'process %s exited on signal 9' % app_id)
self.wait_for_record(
r' (?!' + app_id + r'#)(\d+)#\d+ "mirror" application started'