diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2020-04-14 02:35:04 +0100 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2020-04-14 02:35:04 +0100 |
commit | 0bfa09dfa0ec6a1474ba30d0e1f8aea832fbc1fc (patch) | |
tree | 99dd1db9a07c82aafd61b3afb03d12e65e0d399d /test/test_tls.py | |
parent | 58cc13ab291cac5b13462006e3feb780178ef5f3 (diff) | |
download | unit-0bfa09dfa0ec6a1474ba30d0e1f8aea832fbc1fc.tar.gz unit-0bfa09dfa0ec6a1474ba30d0e1f8aea832fbc1fc.tar.bz2 |
Tests: minor fixes and style.
Diffstat (limited to 'test/test_tls.py')
-rw-r--r-- | test/test_tls.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_tls.py b/test/test_tls.py index 475e9919..d9dcf237 100644 --- a/test/test_tls.py +++ b/test/test_tls.py @@ -521,7 +521,6 @@ basicConstraints = critical,CA:TRUE""" ) def test_tls_application_respawn(self): - self.skip_alerts.append(r'process \d+ exited on signal 9') self.load('mirror') self.certificate() @@ -530,7 +529,7 @@ basicConstraints = critical,CA:TRUE""" self.add_tls(application='mirror') - (resp, sock) = self.post_ssl( + (_, sock) = self.post_ssl( headers={ 'Host': 'localhost', 'Connection': 'keep-alive', @@ -545,6 +544,8 @@ basicConstraints = critical,CA:TRUE""" subprocess.call(['kill', '-9', app_id]) + self.skip_alerts.append(r'process %s exited on signal 9' % app_id) + self.wait_for_record( re.compile( ' (?!' + app_id + '#)(\d+)#\d+ "mirror" application started' |