Skip to content

Commit

Permalink
Address failures on td2 asics for fdb mac move test (#9777)
Browse files Browse the repository at this point in the history
Signed-off-by: Neetha John <nejo@microsoft.com>
  • Loading branch information
neethajohn authored Aug 31, 2023
1 parent 9b6e3b3 commit 32a1a8d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/fdb/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ def set_polling_interval(duthost):
wait(wait_time, "Waiting {} sec for CRM counters to become updated".format(wait_time))

@pytest.fixture(scope='module')
def get_function_conpleteness_level(pytestconfig):
return pytestconfig.getoption("--completeness_level")

def get_function_conpleteness_level(pytestconfig, duthost):
asic_name = duthost.get_asic_name()
if asic_name in ['td2']:
return None
else:
return pytestconfig.getoption("--completeness_level")

0 comments on commit 32a1a8d

Please sign in to comment.