qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r1486625 - /qpid/trunk/qpid/cpp/src/tests/interlink_tests.py
Date Mon, 27 May 2013 13:51:07 GMT
Author: gsim
Date: Mon May 27 13:51:07 2013
New Revision: 1486625

URL: http://svn.apache.org/r1486625
Log:
QPID-4890: added workaround to test to handle issues with closing stdin of subprocesses under
older python interpreters

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

Modified: qpid/trunk/qpid/cpp/src/tests/interlink_tests.py
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/interlink_tests.py?rev=1486625&r1=1486624&r2=1486625&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/interlink_tests.py (original)
+++ qpid/trunk/qpid/cpp/src/tests/interlink_tests.py Mon May 27 13:51:07 2013
@@ -73,6 +73,7 @@ class AmqpBrokerTest(BrokerTest):
             print "sender config is %s" % (send_config or self.default_config)
             print "receiver config is %s" % (recv_config or self.default_config)
         sender = self.sender(send_config or self.default_config)
+        sender._set_cloexec_flag(sender.stdin) #required for older python, see http://bugs.python.org/issue4112
         receiver = self.receiver(recv_config or self.default_config)
 
         messages = ["message-%s" % (i+1) for i in range(count)]



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


Mime
View raw message