Skip to content

[Accton][wedge800bact] fix exception in AgentNeighborResolutionOverFlowTest.neig…#1050

Open
brandonchen-accton wants to merge 1 commit intofacebook:mainfrom
brandonchen-accton:fix-neighborResolutionOverFlow
Open

[Accton][wedge800bact] fix exception in AgentNeighborResolutionOverFlowTest.neig…#1050
brandonchen-accton wants to merge 1 commit intofacebook:mainfrom
brandonchen-accton:fix-neighborResolutionOverFlow

Conversation

@brandonchen-accton
Copy link
Copy Markdown

Summary

Fixed a CHECK failure in AgentMacLearningAndNeighborResolutionTests.cpp:610 where hwAsic->getMaxNdpTableSize() returned std::nullopt.

Updated the return value to 8192 to match the actual hardware NDP table capacity, allowing AgentNeighborResolutionOverFlowTest to run successfully.

Pre-submission checklist

  • I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running pip install -r requirements-dev.txt && pre-commit install
  • pre-commit run

Test Plan

[ OK ] warm_boot.AgentNeighborResolutionOverFlowTest.neighborResolutionOverFlow (10355 ms)
[----------] 1 test from AgentNeighborResolutionOverFlowTest (10355 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (10355 ms total)
[ PASSED ] 1 test.
Running all tests took 0:00:20.908446 between 2026-03-30 14:14:54.940537 and 2026-03-30 14:15:15.848983
[ OK ] warm_boot.AgentNeighborResolutionOverFlowTest.neighborResolutionOverFlow (10355 ms)
Summary:
OK : 1
FAILED : 0
SKIPPED : 0
TIMEOUT : 0

@brandonchen-accton brandonchen-accton requested a review from a team as a code owner March 30, 2026 07:20
@meta-cla meta-cla bot added the CLA Signed label Mar 30, 2026
@brandonchen-accton brandonchen-accton changed the title [Accton] [w800bact] fix exception in AgentNeighborResolutionOverFlowTest.neig… [Accton] [wedge800bact] fix exception in AgentNeighborResolutionOverFlowTest.neig… Apr 1, 2026
@brandonchen-accton brandonchen-accton changed the title [Accton] [wedge800bact] fix exception in AgentNeighborResolutionOverFlowTest.neig… [Accton][wedge800bact] fix exception in AgentNeighborResolutionOverFlowTest.neig… Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant