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

[dualtor] Fix import error #3085

Merged
merged 1 commit into from
Mar 4, 2021
Merged

[dualtor] Fix import error #3085

merged 1 commit into from
Mar 4, 2021

Conversation

lolyu
Copy link
Contributor

@lolyu lolyu commented Mar 4, 2021

Description of PR

Summary:
Fixes # (issue)

Type of change

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

Approach

What is the motivation for this PR?

Fix import error of rand_selected_interface

How did you do it?

Add import random

How did you verify/test it?

import pytest

from tests.common.dualtor.dual_tor_utils import rand_selected_interface


def test_vmhost(rand_selected_interface):
    time.sleep(10)

Any platform specific information?

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

Documentation

Signed-off-by: Longxiang Lyu <[email protected]>
@lolyu lolyu requested a review from a team as a code owner March 4, 2021 01:31
@lolyu lolyu merged commit 5331919 into sonic-net:master Mar 4, 2021
@lolyu lolyu deleted the fix_import branch March 4, 2021 05:50
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.

2 participants