From 5bf8ec8af23901118ea01a318d484b0d3921fd50 Mon Sep 17 00:00:00 2001 From: StormLiangMS <89824293+StormLiangMS@users.noreply.github.com> Date: Fri, 14 Oct 2022 13:39:14 +0800 Subject: [PATCH] [teardown errors] fix tsa test errors by disable loganalyzer (#6533) 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? --- tests/bgp/test_traffic_shift.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/bgp/test_traffic_shift.py b/tests/bgp/test_traffic_shift.py index bbdce235d31..f76efc346d3 100644 --- a/tests/bgp/test_traffic_shift.py +++ b/tests/bgp/test_traffic_shift.py @@ -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 @@ -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): """