Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/arp/test_wr_arp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import logging
import pytest

from tests.common.helpers.assertions import pytest_assert
from tests.common.fixtures.ptfhost_utils import copy_ptftests_directory # lgtm[py/unused-import]
from tests.common.fixtures.ptfhost_utils import change_mac_addresses # lgtm[py/unused-import]
from tests.common.platform.ssh_utils import prepare_testbed_ssh_keys as prepareTestbedSshKeys
Expand Down Expand Up @@ -97,7 +98,8 @@ def setupFerret(self, duthost, ptfhost):
sed -ne 's/0\/.*$/1/p'
'''
)
assert len(result['stderr_lines']) == 0, 'Could not obtain DIP'

pytest_assert(len(result['stdout'].strip()) > 0, 'Empty DIP returned')

dip = result['stdout']
logger.info('VxLan Sender {0}'.format(dip))
Expand Down