Skip to content

Commit 855a784

Browse files
jasmeetbaggameta-codesync[bot]
authored andcommitted
Verify load balancing after resetting flow label hash as well
Summary: As titled ___ Differential Revision: D116233910 fbshipit-source-id: efe2e993403c93d1b085bea043e0d639b9a13844
1 parent 632dcc8 commit 855a784

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

fboss/agent/test/agent_hw_tests/AgentLoadBalancerTests.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,10 @@ TEST_F(
548548

549549
// Reset to original hash so verify is idempotent across warmboot
550550
helper->programLoadBalancer(fullHashNoFlowLabel);
551+
// With standard full hash, flow-label-only traffic should NOT
552+
// be load balanced (all packets hash to the same port)
553+
helper->pumpTrafficPortAndVerifyLoadBalanced(
554+
kEcmpWidth, false, {}, 25, false /* loadBalanceExpected */);
551555
};
552556
runTestAcrossWarmBoots(setup, verify, []() {}, []() {});
553557
}

0 commit comments

Comments
 (0)