summaryrefslogtreecommitdiff
path: root/test/integration/targets/junos_netconf
diff options
context:
space:
mode:
authorGanesh Nalawade <ganesh634@gmail.com>2017-11-14 15:11:44 +0530
committerGitHub <noreply@github.com>2017-11-14 15:11:44 +0530
commitc3636108bcac31ee734bf36a243d0276a3084665 (patch)
tree2646aaeea0291fd56c0034ac4b029951c0329ead /test/integration/targets/junos_netconf
parentceefeeb27960e8a6c03c02b8d875de2b78f088d7 (diff)
downloadansible-c3636108bcac31ee734bf36a243d0276a3084665.tar.gz
Change netconf port in testcase as per test enviornment (#32883)
Diffstat (limited to 'test/integration/targets/junos_netconf')
-rw-r--r--test/integration/targets/junos_netconf/tests/cli/changeport.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/integration/targets/junos_netconf/tests/cli/changeport.yaml b/test/integration/targets/junos_netconf/tests/cli/changeport.yaml
index 73ec15e274..3c9496fd09 100644
--- a/test/integration/targets/junos_netconf/tests/cli/changeport.yaml
+++ b/test/integration/targets/junos_netconf/tests/cli/changeport.yaml
@@ -12,7 +12,7 @@
- name: Change port
junos_netconf:
state: present
- netconf_port: 8080
+ netconf_port: 8022
register: result
- assert:
@@ -22,19 +22,19 @@
- name: idempotent tests
junos_netconf:
state: present
- netconf_port: 8080
+ netconf_port: 8022
register: result
- assert:
that:
- "result.changed == false"
-- name: Ensure we can communicate over 8080
+- name: Ensure we can communicate over 8022
junos_command:
rpcs:
- get-software-information
provider: "{{ netconf }}"
- port: 8080
+ port: 8022
# This protects against the port override above not being honoured and a bug setting the port
- name: Ensure we can NOT communicate over default port