We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a60968b commit edbc28aCopy full SHA for edbc28a
test/case/infix_containers/container_host_commands/test.py
@@ -75,11 +75,5 @@
75
until(lambda: c.running(cont_name), attempts=10)
76
77
with test.step("Verify the new hostname set by the container"):
78
- oper = target.get_data("/ietf-system:system")
79
- name = oper["system"]["hostname"]
80
-
81
- if name != hostname_new:
82
- print(f"Expected hostname: {hostname_new}, actual hostname: {name}")
83
- test.fail()
84
+ until(lambda: c.running(cont_name) != target.get_data("/ietf-system:system")["system"]["hostname"], attempts=10)
85
test.succeed()
0 commit comments