diff options
author | Mauro Sardara <msardara@cisco.com> | 2022-09-22 13:47:55 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2022-09-22 13:47:55 +0000 |
commit | b498b1d3fe2684e0233986551fa581a07148e22b (patch) | |
tree | 0cc5203e8be42408d9910166f479256d48523436 /tests | |
parent | 356530fa42140a9f0ad43269125fd96ad1ced594 (diff) | |
parent | bd26d18978861b24c5707dbaa24dac76133425e2 (diff) |
Merge "fix(libhicnctrl): fix new listener validation during face or connection creation"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/2-nodes-hicn-light.yml | 4 | ||||
-rwxr-xr-x | tests/config.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/2-nodes-hicn-light.yml b/tests/2-nodes-hicn-light.yml index be715e333..e86bbc7ee 100644 --- a/tests/2-nodes-hicn-light.yml +++ b/tests/2-nodes-hicn-light.yml @@ -16,7 +16,7 @@ services: sudo ip route add 192.168.1.2 via 192.168.1.1 dev br0 tee -a /tmp/hicn-light.conf <<EOF add listener udp local0 192.168.1.1 9199 br0 - add connection udp conn0 192.168.1.2 9199 192.168.1.1 9199 + add connection udp conn0 192.168.1.1 9199 192.168.1.2 9199 add route conn0 b002::/64 1 EOF @@ -45,7 +45,7 @@ services: tee -a /tmp/hicn-light.conf <<EOF add listener udp local0 192.168.1.2 9199 br0 - add connection udp conn0 192.168.1.1 9199 192.168.1.2 9199 + add connection udp conn0 192.168.1.2 9199 192.168.1.1 9199 add route conn0 b002::/64 1 EOF diff --git a/tests/config.sh b/tests/config.sh index 1420ef49e..b10d11204 100755 --- a/tests/config.sh +++ b/tests/config.sh @@ -358,7 +358,7 @@ function test_connections() { _=$(exec_command "${command}") command="add connection udp $CONN_NAME $ADDRESS 9695 $ADDRESS 9695 $INTERFACE" _=$(exec_command "${command}") - command="add connection udp $CONN_NAME_2 $ADDRESS 12345 $ADDRESS 9695 $INTERFACE" + command="add connection udp $CONN_NAME_2 $ADDRESS 9695 $ADDRESS 12345 $INTERFACE" assert_cmd_success "${command}" echo -n "List connections: " @@ -395,7 +395,7 @@ function test_connections() { echo -n "Add duplicated connection (same symbolic): " command="add connection udp $CONN_NAME $ADDRESS 9695 $ADDRESS 9695 $INTERFACE" _=$(exec_command "${command}") - command="add connection udp $CONN_NAME $ADDRESS 9695 $ADDRESS 12345 $INTERFACE" + command="add connection udp $CONN_NAME $ADDRESS 12345 $ADDRESS 9695 $INTERFACE" assert_cmd_failure "${command}" # This case is allowed, success code is returned and symbolic is not updated |