summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2015-05-20 07:58:04 +0000
committerGordon Sim <gsim@apache.org>2015-05-20 07:58:04 +0000
commita7a6e788be934ccb5adeb140fcf930678e19694f (patch)
treeea89de1a20f316ea83559c349c424bf49841135c /cpp
parent359a46242dee2cff9fcbb1783ef0b48fccadeb14 (diff)
downloadqpid-python-a7a6e788be934ccb5adeb140fcf930678e19694f.tar.gz
NO-JIRA: fix tests for python 2.4
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1680478 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rwxr-xr-xcpp/src/tests/idle_timeout_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/idle_timeout_tests.py b/cpp/src/tests/idle_timeout_tests.py
index c3cc00746b..22a107a110 100755
--- a/cpp/src/tests/idle_timeout_tests.py
+++ b/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()