Skip to content

Commit

Permalink
Fix test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion committed Apr 10, 2019
1 parent 118840b commit 9d84495
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/python/pants_test/pantsd/test_pantsd_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def test_pantsd_sigterm(self):
self._assert_pantsd_keyboardinterrupt_signal(
signal.SIGTERM,
regexps=[
'^INFO] Sending SIGTERM to pantsd-runner with pid [0-9]+, waiting up to 5\\.0 seconds before sending SIGKILL\\.\\.\\.',
'^\\[INFO\\] Sending SIGTERM to pantsd-runner with pid [0-9]+, waiting up to 5\\.0 seconds before sending SIGKILL\\.\\.\\.',
re.escape("\nSignal {signum} (SIGTERM) was raised. Exiting with failure.\n"
.format(signum=signal.SIGTERM)),
"""
Expand All @@ -508,7 +508,7 @@ def test_pantsd_sigquit(self):
self._assert_pantsd_keyboardinterrupt_signal(
signal.SIGQUIT,
regexps=[
'^INFO] Sending SIGQUIT to pantsd-runner with pid [0-9]+, waiting up to 5\\.0 seconds before sending SIGKILL\\.\\.\\.',
'^\\[INFO\\]] Sending SIGQUIT to pantsd-runner with pid [0-9]+, waiting up to 5\\.0 seconds before sending SIGKILL\\.\\.\\.',
re.escape("\nSignal {signum} (SIGQUIT) was raised. Exiting with failure.\n"
.format(signum=signal.SIGQUIT)),
"""
Expand All @@ -520,7 +520,7 @@ def test_pantsd_sigint(self):
self._assert_pantsd_keyboardinterrupt_signal(
signal.SIGINT,
regexps=["""\
^INFO] Sending SIGINT to pantsd-runner with pid [0-9]+, waiting up to 5\\.0 seconds before sending SIGKILL\\.\\.\\.
^\\[INFO\\] Sending SIGINT to pantsd-runner with pid [0-9]+, waiting up to 5\\.0 seconds before sending SIGKILL\\.\\.\\.
Interrupted by user.
Interrupted by user:
Interrupted by user over pailgun client!
Expand All @@ -533,7 +533,7 @@ def test_signal_pailgun_stream_timeout(self):
self._assert_pantsd_keyboardinterrupt_signal(
signal.SIGINT,
regexps=["""\
^INFO] Sending SIGINT to pantsd-runner with pid [0-9]+, waiting up to 0\\.01 seconds before sending SIGKILL\\.\\.\\.
^\\[INFO\\] Sending SIGINT to pantsd-runner with pid [0-9]+, waiting up to 0\\.01 seconds before sending SIGKILL\\.\\.\\.
Interrupted by user\\.
WARN\\] timed out when attempting to gracefully shut down the remote client executing \
"'pantsd-runner.*'"\\. sending SIGKILL to the remote client at pid: [0-9]+\\. message: iterating \
Expand Down

0 comments on commit 9d84495

Please sign in to comment.