Skip to content

Commit

Permalink
added cleanup for netconf container
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Dec 2, 2024
1 parent 73ecb15 commit 48b093f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/02-basic-srl/01-two-srls.robot
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Verify TLS works with JSON-RPC, certificate check and IP address as SAN
Verify NETCONF works
Skip If '${runtime}' != 'docker'
${rc} ${output} = Run And Return Rc And Output
... sudo docker run --rm --network clab ghcr.io/hellt/netconf-console2:3.0.1 --host clab-${lab-name}-srl1 --port 830 -u admin -p 'NokiaSrl1!' --hello
... sudo docker run --name net-cons2-clab --rm --network clab ghcr.io/hellt/netconf-console2:3.0.1 --host clab-${lab-name}-srl1 --port 830 -u admin -p 'NokiaSrl1!' --hello
Log ${output}
Should Be Equal As Integers ${rc} 0
Should Contain ${output} base:1.1
Expand All @@ -157,4 +157,5 @@ Verify NETCONF works
*** Keywords ***
Cleanup
Run sudo -E ${CLAB_BIN} --runtime ${runtime} destroy -t ${CURDIR}/${lab-file-name} --cleanup
Run sudo docker rm -f net-cons2-clab
Run rm -f ${key-path}*

0 comments on commit 48b093f

Please sign in to comment.