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

[drop counters] Fix drop count tests to respect multi-DUT setups #2868

Merged
merged 1 commit into from
Jan 27, 2021

Conversation

daall
Copy link
Contributor

@daall daall commented Jan 26, 2021

Signed-off-by: Danny Allen daall@microsoft.com

Description of PR

Summary: Fix drop count tests to respect multi-DUT setups

Type of change

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

Approach

What is the motivation for this PR?

There is a mismatch b/w which DUT we are sending traffic to and which DUT we are checking for drops because we aren't using the right fixtures to access DUTs in a multi-DUT setup.

How did you do it?

Added duthosts and rand_one_dut_hostname, in-line with the rest of the sonic-mgmt tests.

How did you verify/test it?

Ran tests on a multi-DUT testbed and validated that the tests are passing.

Any platform specific information?

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

Documentation

Signed-off-by: Danny Allen <daall@microsoft.com>
@daall daall merged commit 35f0015 into sonic-net:master Jan 27, 2021
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.

3 participants