From 7134c7dbba80a800e9d862789e26ac02cd051b0b Mon Sep 17 00:00:00 2001 From: Vaibhav Hemant Dixit Date: Tue, 18 Jan 2022 22:38:37 -0800 Subject: [PATCH] [advance-reboot] HOTFIX - remove unexpected argument from _parse_timestamp call (#4962) Fix wrong number of arguments in a call below error introduced by https://github.com/Azure/sonic-mgmt/pull/4883 Fix call to _parse_timestamp with only one argument instead of two. --- tests/platform_tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/platform_tests/conftest.py b/tests/platform_tests/conftest.py index 86911a44ef..20ac0c7b0f 100644 --- a/tests/platform_tests/conftest.py +++ b/tests/platform_tests/conftest.py @@ -310,7 +310,7 @@ def verify_mac_jumping(test_name, timing_data): # and ends when SAI is instructed to enable MAC learning (warmboot recovery path) logging.info("Mac expiry for unexpected addresses started at {}".format(mac_expiry_start) +\ " and FDB learning enabled at {}".format(fdb_aging_disable_end)) - if _parse_timestamp(mac_expiry_start) > _parse_timestamp(fdb_aging_disable_start, FMT) and\ + if _parse_timestamp(mac_expiry_start) > _parse_timestamp(fdb_aging_disable_start) and\ _parse_timestamp(mac_expiry_start) < _parse_timestamp(fdb_aging_disable_end): pytest.fail("Mac expiry detected during the window when FDB ageing was disabled")