diff options
| author | Gordon Sim <gsim@apache.org> | 2013-05-27 13:51:07 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2013-05-27 13:51:07 +0000 |
| commit | fb30c4eb34fd219bef8057edc7d13b3b998a0ada (patch) | |
| tree | f15b1fa4820a6ac352f16197002f434c05d4c0b2 /cpp/src | |
| parent | 4a37134c0a4c48e6d4ce80e4eb8dcdb16084cbe6 (diff) | |
| download | qpid-python-fb30c4eb34fd219bef8057edc7d13b3b998a0ada.tar.gz | |
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
Diffstat (limited to 'cpp/src')
| -rwxr-xr-x | cpp/src/tests/interlink_tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
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)] |
