diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-01-08 15:01:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-08 15:01:45 +0200 |
| commit | 9932aa1200cdef5eddeec7bd184796616db84b04 (patch) | |
| tree | f4efade0f985c1afce9ad5f1fe107a48aaa0eb90 | |
| parent | d03a07b6ddc0b8650b6acc27da2fe62de6024326 (diff) | |
| parent | 662aa246aaad3ffc8eed8639dad899f4020fdb3c (diff) | |
Merge pull request #7833 from donaldsharp/gr_tests
tests: Fix gr_tests
| -rw-r--r-- | tests/topotests/bgp_gr_functionality_topo1/test_bgp_gr_functionality_topo1.py | 4 | ||||
| -rw-r--r-- | tests/topotests/lib/common_config.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/topotests/bgp_gr_functionality_topo1/test_bgp_gr_functionality_topo1.py b/tests/topotests/bgp_gr_functionality_topo1/test_bgp_gr_functionality_topo1.py index 94fd17e012..3a2d283025 100644 --- a/tests/topotests/bgp_gr_functionality_topo1/test_bgp_gr_functionality_topo1.py +++ b/tests/topotests/bgp_gr_functionality_topo1/test_bgp_gr_functionality_topo1.py @@ -1488,7 +1488,7 @@ def test_BGP_GR_TC_5_1_2_p1(request): shutdown_bringup_interface(tgen, "r2", intf) # Bring up Interface - shutdown_bringup_interface(tgen, dut, intf, ifaceaction=True) + shutdown_bringup_interface(tgen, "r2", intf, ifaceaction=True) for addr_type in ADDR_TYPES: result = verify_graceful_restart( @@ -1775,7 +1775,7 @@ def test_BGP_GR_TC_6_1_2_p1(request): shutdown_bringup_interface(tgen, "r2", intf) # Bring up Interface - shutdown_bringup_interface(tgen, dut, intf, ifaceaction=True) + shutdown_bringup_interface(tgen, "r2", intf, ifaceaction=True) for addr_type in ADDR_TYPES: result = verify_graceful_restart( diff --git a/tests/topotests/lib/common_config.py b/tests/topotests/lib/common_config.py index a45b595a5b..27efecb762 100644 --- a/tests/topotests/lib/common_config.py +++ b/tests/topotests/lib/common_config.py @@ -2449,9 +2449,9 @@ def shutdown_bringup_interface(tgen, dut, intf_name, ifaceaction=False): router_list = tgen.routers() if ifaceaction: - logger.info("Bringing up interface : {}".format(intf_name)) + logger.info("Bringing up interface {} : {}".format(dut, intf_name)) else: - logger.info("Shutting down interface : {}".format(intf_name)) + logger.info("Shutting down interface {} : {}".format(dut, intf_name)) interface_set_status(router_list[dut], intf_name, ifaceaction) |
