Skip to content

Commit

Permalink
[teardown errors] fix tsa test errors by disable loganalyzer (#6533)
Browse files Browse the repository at this point in the history
What is the motivation for this PR?
There would be many error logs during config reload or minigraph reload, need to disable loganalyzer when involve a reload.

How did you do it?
disable loganalyzer when involve a reload in testcases.

How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
  • Loading branch information
StormLiangMS authored Oct 14, 2022
1 parent 64fe08c commit 5bf8ec8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/bgp/test_traffic_shift.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ def test_TSA_B_C_with_no_neighbors(duthost, bgpmon_setup_teardown, nbrhosts, tbi
"Not all ipv6 routes are announced to neighbors")


@pytest.mark.disable_loganalyzer
def test_TSA_TSB_with_config_reload(duthost, ptfhost, nbrhosts, bgpmon_setup_teardown, traffic_shift_community):
"""
Test TSA after config save and config reload
Expand Down Expand Up @@ -324,6 +325,7 @@ def test_TSA_TSB_with_config_reload(duthost, ptfhost, nbrhosts, bgpmon_setup_tea
"Not all ipv6 routes are announced to neighbors")


@pytest.mark.disable_loganalyzer
def test_load_minigraph_with_traffic_shift_away(duthost, ptfhost, nbrhosts, bgpmon_setup_teardown,
traffic_shift_community):
"""
Expand Down

0 comments on commit 5bf8ec8

Please sign in to comment.