junos_netconf integration test failure fix (#27569)

*  Create socket using port value and not connection type
*  Correct error message in integration test task
This commit is contained in:
Ganesh Nalawade 2017-08-01 21:33:11 +05:30 committed by GitHub
commit 19fac707fa
3 changed files with 3 additions and 3 deletions

View file

@ -49,7 +49,7 @@
- assert:
that:
- "result.failed == true"
- "'unable to connect to' in result.msg"
- "'unable to open shell' in result.msg"
- name: Set back netconf to default port
junos_netconf:

View file

@ -61,7 +61,7 @@
- assert:
that:
- "result.failed == true"
- "'unable to connect to' in result.msg"
- "'unable to open shell' in result.msg"
- name: re-enable netconf
junos_netconf: