diff options
author | Gordon Sim <gsim@apache.org> | 2015-05-20 07:58:04 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2015-05-20 07:58:04 +0000 |
commit | f71f9dfdca4372648b896c0b9b51a78f4ce61b5d (patch) | |
tree | c0e27dc77417074f068375bb37c93f168410fb90 | |
parent | 5227738b402e7a9dc5d8ae56fec4a1eb21660e6b (diff) | |
download | qpid-python-f71f9dfdca4372648b896c0b9b51a78f4ce61b5d.tar.gz |
NO-JIRA: fix tests for python 2.4
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1680478 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-x | qpid/cpp/src/tests/idle_timeout_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/idle_timeout_tests.py b/qpid/cpp/src/tests/idle_timeout_tests.py index c3cc00746b..22a107a110 100755 --- a/qpid/cpp/src/tests/idle_timeout_tests.py +++ b/qpid/cpp/src/tests/idle_timeout_tests.py @@ -79,13 +79,13 @@ class AmqpIdleTimeoutTest(BrokerTest): # now 'hang' the client, the broker should disconnect start = time.time() - receiver.send_signal(signal.SIGSTOP) + os.kill(receiver.pid, signal.SIGSTOP) deadline = time.time() + 10 while time.time() < deadline: if count == len(self._broker.agent.getAllConnections()): break; self.assertEqual(count, len(self._broker.agent.getAllConnections())) - receiver.send_signal(signal.SIGCONT) + os.kill(receiver.pid, signal.SIGCONT) receiver.teardown() |