From 7d7262cbc130c58d0393d0418f3992fe0e5b5c17 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 27 May 2013 13:51:07 +0000 Subject: QPID-4890: added workaround to test to handle issues with closing stdin of subprocesses under older python interpreters git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1486625 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/interlink_tests.py | 1 + 1 file changed, 1 insertion(+) (limited to 'cpp') diff --git a/cpp/src/tests/interlink_tests.py b/cpp/src/tests/interlink_tests.py index 1bc1927bce..5c63ac9f82 100755 --- a/cpp/src/tests/interlink_tests.py +++ b/cpp/src/tests/interlink_tests.py @@ -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)] -- cgit v1.2.1