Skip to content

Commit

Permalink
[advance-reboot] HOTFIX - remove unexpected argument from _parse_time…
Browse files Browse the repository at this point in the history
…stamp call (#4962)

Fix wrong number of arguments in a call below error introduced by #4883

Fix call to _parse_timestamp with only one argument instead of two.
  • Loading branch information
vaibhavhd authored Jan 19, 2022
1 parent 9dba744 commit 7134c7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/platform_tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 7134c7d

Please sign in to comment.