Author: gsim
Date: Wed May 20 07:58:04 2015
New Revision: 1680478

URL: http://svn.apache.org/r1680478
Log:
NO-JIRA: fix tests for python 2.4

Modified:
    qpid/trunk/qpid/cpp/src/tests/idle_timeout_tests.py

Modified: qpid/trunk/qpid/cpp/src/tests/idle_timeout_tests.py
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/idle_timeout_tests.py?rev=1680478&r1=1680477&r2=1680478&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/idle_timeout_tests.py (original)
+++ qpid/trunk/qpid/cpp/src/tests/idle_timeout_tests.py Wed May 20 07:58:04 2015
@@ -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()
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to