Skip to content

Fix test_wr_arp not stable issue - #20

Open
JibinBao wants to merge 1 commit into
masterfrom
test_wr_arp
Open

Fix test_wr_arp not stable issue#20
JibinBao wants to merge 1 commit into
masterfrom
test_wr_arp

Conversation

@JibinBao

@JibinBao JibinBao commented Aug 2, 2022

Copy link
Copy Markdown
Owner

Description of PR

Sometimes test_wr_arp will fail when config reload or restart system action is in previous tests. Because BGP route advertising is not completed after that action, in test_wr_arp we can not get the desired result by "ip route show type unicast". Therefore, adding retry to get ip route will make this test more stable.

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012

Approach

What is the motivation for this PR?

Make test_wr_arp more stable

How did you do it?

Use wait_until to retry getting ip route

How did you verify/test it?

Do config reload, before the bgp route advertise is completed run this test.

Any platform specific information?

Any

Supported testbed topology if it's a new test case?

t0

Documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant