Github user ChugR commented on a diff in the pull request:
https://github.com/apache/qpid-dispatch/pull/261#discussion_r170614842
--- Diff: tests/system_tests_autolinks.py ---
@@ -53,17 +53,18 @@ def setUpClass(cls):
#
# Create a pair of default auto-links for 'node.1'
#
- ('autoLink', {'addr': 'node.1', 'containerId': 'container.1',
'dir': 'in'}),
- ('autoLink', {'addr': 'node.1', 'containerId': 'container.1',
'dir': 'out'}),
+ ('autoLink', {'addr': 'node.1', 'containerId': 'container.1',
'direction': 'in'}),
+ ('autoLink', {'addr': 'node.1', 'containerId': 'container.1',
'direction': 'out'}),
#
# Create a pair of auto-links on non-default phases for
container-to-container transfers
#
- ('autoLink', {'addr': 'xfer.2', 'containerId': 'container.2',
'dir': 'in', 'phase': '4'}),
- ('autoLink', {'addr': 'xfer.2', 'containerId': 'container.3',
'dir': 'out', 'phase': '4'}),
+ ('autoLink', {'addr': 'xfer.2', 'containerId': 'container.2',
'direction': 'in', 'phase': '4'}),
+ ('autoLink', {'addr': 'xfer.2', 'containerId': 'container.3',
'direction': 'out', 'phase': '4'}),
#
# Create a pair of auto-links with a different external address
+ # Leave the direction as dir to test backward compatibility.
--- End diff --
Is there a test that has both dir and direction specified to see that it
fails?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]