From f501e1c1fda0b34bdd283dd2a35b1caa0a13b565 Mon Sep 17 00:00:00 2001 From: Prince Sunny Date: Mon, 16 Aug 2021 17:52:02 -0700 Subject: [PATCH] [VS Test] Skip flaky tests (#1875) * Skip flaky test, under investigation --- tests/test_buffer_traditional.py | 1 + tests/test_speed.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/tests/test_buffer_traditional.py b/tests/test_buffer_traditional.py index b21862c29638..05730d04871f 100644 --- a/tests/test_buffer_traditional.py +++ b/tests/test_buffer_traditional.py @@ -68,6 +68,7 @@ def setup_teardown_test(self, dvs): finally: self.teardown() + @pytest.mark.skip(reason="Failing. Under investigation") def test_zero_cable_len_profile_update(self, dvs, setup_teardown_test): self.pg_name_map = setup_teardown_test orig_cable_len = None diff --git a/tests/test_speed.py b/tests/test_speed.py index 0f3e51c5d884..44d4932e5897 100644 --- a/tests/test_speed.py +++ b/tests/test_speed.py @@ -1,4 +1,5 @@ """test_speed.py verifies that speed is set on interfaces and buffer manager behavies correctly on speed change.""" +import pytest class TestSpeedSet: @@ -6,6 +7,7 @@ class TestSpeedSet: # specify a dynamic number of ports now. NUM_PORTS = 32 + @pytest.mark.skip(reason="Failing. Under investigation") def test_SpeedAndBufferSet(self, dvs, testlog): configured_speed_list = [] speed_list = ["10000", "25000", "40000", "50000", "100000"]