The intention of this test was to wait 5s after sending SIGHUP to a
child process to make sure that it doesn't exit. However, due to a logic
error, it just stopped checking and declared success immediately. Fix
the logic so that we have a better chance of seeing if SIGHUP
incorrectly kills the process.
Reviewed: https:/ /review. openstack. org/624007 /git.openstack. org/cgit/ openstack/ oslo.service/ commit/ ?id=130e49feac0 2e1cb3c13a82efe 5bb2c120717c92
Committed: https:/
Submitter: Zuul
Branch: master
commit 130e49feac02e1c b3c13a82efe5bb2 c120717c92
Author: Zane Bitter <email address hidden>
Date: Mon Dec 10 20:38:25 2018 +1300
Actually test child SIGHUP signal
The intention of this test was to wait 5s after sending SIGHUP to a
child process to make sure that it doesn't exit. However, due to a logic
error, it just stopped checking and declared success immediately. Fix
the logic so that we have a better chance of seeing if SIGHUP
incorrectly kills the process.
Change-Id: I1f320a8dfdd7a9 22b461d070491ad 53e6cd2b20d
Related-Bug: #1803731