Skip to content

Commit

Permalink
[dhcp_relay] Update error log for dhcp server route incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
yaqiangz committed Dec 6, 2024
1 parent 34413f4 commit bf7e715
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/dhcp_relay/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ def validate_dut_routes_exist(duthosts, rand_one_dut_hostname, dut_dhcp_relay_da
"""Fixture to valid a route to each DHCP server exist
"""
py_assert(wait_until(120, 5, 0, check_routes_to_dhcp_server, duthosts[rand_one_dut_hostname],
dut_dhcp_relay_data), "Failed to find route for DHCP server")
dut_dhcp_relay_data),
"Packets relayed to DHCP server should go through default route via upstream neighbor, but now it's" +
" going through mgmt interface, which means device is in a unhealthy status")


@pytest.fixture(scope="module")
Expand Down

0 comments on commit bf7e715

Please sign in to comment.