Fix test to use correct host
This commit is contained in:
parent
30dcc0af81
commit
55aab8cc84
2 changed files with 23 additions and 23 deletions
|
|
@ -21,7 +21,7 @@ class TestStuff(object):
|
|||
dst_ipv6 = ipaddress.ip_address("2001:db8::42")
|
||||
|
||||
log.info("Trying to reach {} from {}".format(dst_ipv6, host))
|
||||
cmd = "mx h1 ping6 -c1 {}".format(dst_ipv6).split(" ")
|
||||
cmd = "mx {} ping6 -c1 {}".format(host, dst_ipv6).split(" ")
|
||||
|
||||
return cmd
|
||||
|
||||
|
|
@ -30,7 +30,7 @@ class TestStuff(object):
|
|||
dst = ipaddress.ip_address("10.0.0.66")
|
||||
|
||||
log.info("Trying to reach {} from {}".format(dst, host))
|
||||
cmd = "mx h1 ping -c1 {}".format(dst).split(" ")
|
||||
cmd = "mx {} ping -c1 {}".format(host, dst).split(" ")
|
||||
|
||||
return cmd
|
||||
|
||||
|
|
@ -41,7 +41,7 @@ class TestStuff(object):
|
|||
translated_ipv4 = nat64_prefix[int(dst_ipv4)]
|
||||
|
||||
log.info("Trying to reach {} ({}) from {}".format(dst_ipv4, translated_ipv4, host))
|
||||
cmd = "mx h1 ping6 -c1 {}".format(translated_ipv4).split(" ")
|
||||
cmd = "mx {} ping6 -c1 {}".format(host, translated_ipv4).split(" ")
|
||||
|
||||
return cmd
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue