diff options
Diffstat (limited to 'qpid/cpp/src/tests/interlink_tests.py')
-rwxr-xr-x | qpid/cpp/src/tests/interlink_tests.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/interlink_tests.py b/qpid/cpp/src/tests/interlink_tests.py index bb82b1c956..20ce6167a8 100755 --- a/qpid/cpp/src/tests/interlink_tests.py +++ b/qpid/cpp/src/tests/interlink_tests.py @@ -72,7 +72,12 @@ class AmqpBrokerTest(BrokerTest): return self.popen(cmd, stdout=PIPE) def ready_receiver(self, config): - s = self.broker.connect().session() + # NOTE: some tests core dump when run with SWIG binding over proton + # version<=0.6. This is fixed on proton 0.7. + def use_native(): + pv=os.environ.get("QPID_PROTON_VERSION") + return pv and [int(n) for n in pv.split(".")] <= [0,6] + s = self.broker.connect(native=use_native()).session() r = s.receiver("readyq; {create:always}") cmd = ["qpid-receive", "--broker", config.url, |