Skip to content

Commit

Permalink
[vs]: Add time.sleep(1) to make test stable (#2274)
Browse files Browse the repository at this point in the history
time.sleep(1) after running the command to enslave member port

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
  • Loading branch information
Shuotian Cheng authored and lguohan committed Nov 19, 2018
1 parent b4fd40a commit ecca7e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform/vs/tests/teamd/test_portchannel.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def test_PortChannel(dvs, testlog):

# create the lag member
dvs.runcmd("config portchannel member add PortChannel0001 Ethernet112")
time.sleep(1)

# test lag member table in appl db
tbl = swsscommon.Table(appldb, "LAG_MEMBER_TABLE")
Expand Down

0 comments on commit ecca7e9

Please sign in to comment.