Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test_wr_arp not stable issue #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix test_wr_arp not stable issue #20

wants to merge 1 commit into from

Conversation

JibinBao
Copy link
Owner

@JibinBao JibinBao commented Aug 2, 2022

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