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

[dhcp_relay] Add link state change tests #1263

Merged
merged 1 commit into from
Dec 9, 2019
Merged

[dhcp_relay] Add link state change tests #1263

merged 1 commit into from
Dec 9, 2019

Conversation

jleveque
Copy link
Contributor

@jleveque jleveque commented Dec 7, 2019

Summary:

Enhance DHCP relay test to ensure relay agent is robust enough to handle link state changes and starting up when configured links are down. This test validates the bug fix in sonic-net/sonic-buildimage#3851 and should help prevent regressions.

Type of change

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

Approach

How did you do it?

After the standard DHCP relay test, run two more tests, as follows:

  1. With the relay healthy, flap the uplinks and test again
  2. Stop relay, shut down links, start relay, bring up links, test again

How did you verify/test it?

Tested on a DUT with and without the patch mentioned above. Without the patch, the test fails; with the patch, the test succeeds.

@jleveque jleveque requested a review from lguohan December 7, 2019 22:48
@jleveque jleveque self-assigned this Dec 7, 2019
@jleveque jleveque merged commit df45ee3 into sonic-net:master Dec 9, 2019
@jleveque jleveque deleted the enhance_dhcp_relay_test branch December 9, 2019 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants