Skip to content

Commit

Permalink
Restore eth0 up in post-test clean up (sonic-net#1452)
Browse files Browse the repository at this point in the history
Signed-off-by: Wenda Ni <wonda.ni@gmail.com>

Co-authored-by: wenda.ni <wenda.ni@bytedance.com>
  • Loading branch information
wendani and wendani committed Sep 30, 2020
1 parent be51ebc commit 0e1b9be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_portchannel.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,10 @@ def test_Portchannel_oper_down(self, dvs, testlog):
tbl._del("PortChannel004")
time.sleep(1)

# Restore eth0 up
dvs.servers[0].runcmd("ip link set up dev eth0")
time.sleep(1)


# Add Dummy always-pass test at end as workaroud
# for issue when Flaky fail on final test it invokes module tear-down before retrying
Expand Down

0 comments on commit 0e1b9be

Please sign in to comment.