diff --git a/whitebox_neutron_tempest_plugin/tests/scenario/test_ovn_fdb.py b/whitebox_neutron_tempest_plugin/tests/scenario/test_ovn_fdb.py index 4138ee1..0ede642 100644 --- a/whitebox_neutron_tempest_plugin/tests/scenario/test_ovn_fdb.py +++ b/whitebox_neutron_tempest_plugin/tests/scenario/test_ovn_fdb.py @@ -38,7 +38,8 @@ class OvnFdbAgingTest(wb_base.BaseTempestTestCaseOvn): def _check_mac_in_ovn_sb_fdb(self, mac_address, is_present=True): def _check_mac(): - cmd = '{} list FDB | grep mac'.format(self.sbctl) + cmd = ('{} --format=list --bare --columns=mac list FDB; ' + 'true').format(self.sbctl) fdb_list = self.run_on_master_controller(cmd).lower() if is_present: return mac_address.lower() in fdb_list