]> source.dussan.org Git - rspamd.git/commit
[functional test] Fix races in shutdown_process
authorAnton Yuzhaninov <citrin+git@citrin.ru>
Tue, 16 Oct 2018 15:34:24 +0000 (11:34 -0400)
committerAnton Yuzhaninov <citrin+git@citrin.ru>
Tue, 16 Oct 2018 15:37:59 +0000 (11:37 -0400)
commit33016c62b77663561b02c6107285c3689f52208e
tree33ef1114d92e01e249e1d28feb1af696d5279396
parenta9557341524157ad8960331d4960ea3a7b6ba988
[functional test] Fix races in shutdown_process

Currently functional test sometimes fails with and error:
Teardown failed: NoSuchProcess: psutil.NoSuchProcess process no longer exists (pid=2259)

Rewrite process termination - there is no need to send signals in a loop
many times.
test/functional/lib/rspamd.py