summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Nalawade <ganesh634@gmail.com>2017-11-14 15:39:39 +0530
committerGitHub <noreply@github.com>2017-11-14 15:39:39 +0530
commit363e605ac4351f2f3017b655369c1e5daa504e28 (patch)
tree323dfa9f102cd640a46e7459a4dcfdc614439c09
parentf179adcf2c49f8087c209d39661aa51927eaebcf (diff)
downloadansible-363e605ac4351f2f3017b655369c1e5daa504e28.tar.gz
Change netconf port in testcase as per test enviornment (#32883) (#32889)
(cherry picked from commit c3636108bcac31ee734bf36a243d0276a3084665)
-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