diff options
| author | Russ White <russ@riw.us> | 2024-11-26 10:13:59 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-26 10:13:59 -0500 |
| commit | c84a6800971dc4b0f3c86b59323ff3214e7a6f17 (patch) | |
| tree | 2abdcec872f99235b5ac48616b086a4cbd9ea469 /tests/topotests/ospfapi/test_ospf_clientapi.py | |
| parent | 0a40e044acbde7040412efb118ff564a6f6795a4 (diff) | |
| parent | bf05536741872d5df361eeb521f45ca7f9d9b1e5 (diff) | |
Merge pull request #14367 from donaldsharp/ospfapi_test_failure
two test cleanups
Diffstat (limited to 'tests/topotests/ospfapi/test_ospf_clientapi.py')
| -rw-r--r-- | tests/topotests/ospfapi/test_ospf_clientapi.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/topotests/ospfapi/test_ospf_clientapi.py b/tests/topotests/ospfapi/test_ospf_clientapi.py index 89a34ff9b5..9e00fcf11f 100644 --- a/tests/topotests/ospfapi/test_ospf_clientapi.py +++ b/tests/topotests/ospfapi/test_ospf_clientapi.py @@ -218,10 +218,12 @@ def _test_router_id(tgen, testbin): step("router id: check for modified router id") r1.vtysh_multicmd("conf t\nrouter ospf\nospf router-id 1.1.1.1") + r1.vtysh_multicmd("clear ip ospf process") _wait_output(p, "SUCCESS: {}".format(waitlist[1])) step("router id: check for restored router id") r1.vtysh_multicmd("conf t\nrouter ospf\nospf router-id 1.0.0.0") + r1.vtysh_multicmd("clear ip ospf process") _wait_output(p, "SUCCESS: {}".format(waitlist[2])) except Exception as error: logging.error("ERROR: %s", error) |
