From 49925ff5c50b25e7afe825629600c5c5c2ce8c31 Mon Sep 17 00:00:00 2001 From: Petro Pikh Date: Fri, 13 May 2022 16:40:53 +0300 Subject: [PATCH] Fixed COPP test - reload logic Old logic caused time to time failures in first test in class due to traffic loss Signed-off-by: Petro Pikh --- tests/copp/test_copp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/copp/test_copp.py b/tests/copp/test_copp.py index 9b2a9d38367..899e4a6969f 100644 --- a/tests/copp/test_copp.py +++ b/tests/copp/test_copp.py @@ -365,7 +365,7 @@ def _setup_testbed(dut, creds, ptf, test_params, tbinfo): # NOTE: Even if the rpc syncd image is already installed, we need to restart # SWSS for the COPP changes to take effect. logging.info("Reloading config and restarting swss...") - config_reload(dut, safe_reload=True) + config_reload(dut) logging.info("Configure syncd RPC for testing") copp_utils.configure_syncd(dut, test_params.nn_target_port, test_params.nn_target_interface, @@ -387,7 +387,7 @@ def _teardown_testbed(dut, creds, ptf, test_params, tbinfo): else: copp_utils.restore_syncd(dut, test_params.nn_target_namespace) logging.info("Reloading config and restarting swss...") - config_reload(dut, safe_reload=True) + config_reload(dut) def _setup_multi_asic_proxy(dut, creds, test_params, tbinfo): """