From 333bae7080fd4d26dbf689d3058ba1acb08adbaa Mon Sep 17 00:00:00 2001 From: Gang Tao Date: Fri, 30 Oct 2026 11:24:48 +0000 Subject: [PATCH] [Celestica] [m4061clsc] Fix AgentAclTableGroupTrafficTest warmboot race condition by waiting for post-warmboot stats sync --- .../test/agent_hw_tests/AgentAclTableGroupTrafficTests.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fboss/agent/test/agent_hw_tests/AgentAclTableGroupTrafficTests.cpp b/fboss/agent/test/agent_hw_tests/AgentAclTableGroupTrafficTests.cpp index 18ee5da6a9609..92502edf47cfd 100644 --- a/fboss/agent/test/agent_hw_tests/AgentAclTableGroupTrafficTests.cpp +++ b/fboss/agent/test/agent_hw_tests/AgentAclTableGroupTrafficTests.cpp @@ -227,6 +227,7 @@ class AgentAclTableGroupTrafficTest : public AgentHwTest { if (frontPanel) { learnSrcMacOnEcmpTxPortIfPending(kEcmpWidth); } + getNextUpdatedPortStats(masterLogicalPortIds()[0]); auto statBefore = utility::getAclInOutPackets(getSw(), ttlCounterName); const auto beforePortStats = @@ -356,6 +357,7 @@ class AgentAclTableGroupTrafficTest : public AgentHwTest { if (frontPanel) { learnSrcMacOnEcmpTxPortIfPending(kEcmpWidth); } + getNextUpdatedPortStats(masterLogicalPortIds()[0]); auto beforeAclPkts = pktCounterHelper(); sendAllPacketshelper(dstIP, frontPanel, 0);