You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kg...@apache.org on 2019/11/27 16:26:31 UTC

[qpid-proton] branch master updated: PROTON-2138: add test to verify coordinator target capability parsing

This is an automated email from the ASF dual-hosted git repository.

kgiusti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/master by this push:
     new 3f08c66  PROTON-2138: add test to verify coordinator target capability parsing
3f08c66 is described below

commit 3f08c66de5e0c22ad40b09abcfaf1be1977ad118
Author: Kenneth Giusti <kg...@apache.org>
AuthorDate: Wed Nov 27 11:09:45 2019 -0500

    PROTON-2138: add test to verify coordinator target capability parsing
    
    This closes #218
---
 python/tests/proton_tests/engine.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/python/tests/proton_tests/engine.py b/python/tests/proton_tests/engine.py
index 99be7e6..3f07c9f 100644
--- a/python/tests/proton_tests/engine.py
+++ b/python/tests/proton_tests/engine.py
@@ -695,7 +695,9 @@ class LinkTest(Test):
     self._test_source_target(None, TerminusConfig(address="target"))
 
   def test_coordinator(self):
-    self._test_source_target(None, TerminusConfig(type=Terminus.COORDINATOR))
+    caps = Array(UNDESCRIBED, Data.SYMBOL, symbol("amqp:local-transactions"))
+    self._test_source_target(None, TerminusConfig(type=Terminus.COORDINATOR,
+                                                  capabilities=caps))
 
   def test_source_target_full(self):
     self._test_source_target(TerminusConfig(address="source",


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