Skip to content

Commit

Permalink
fix SaiRollbackTest.rollbackLinkUpAndDown on TH5
Browse files Browse the repository at this point in the history
Summary: Similar to D62894132, fix SaiRollbackTest.rollbackLinkUpAndDown on TH5 by only using interface ports

Differential Revision: D62898566

fbshipit-source-id: e5a6196c8fbd5c76a0c56dd95c4ccb4ff64b7700
  • Loading branch information
daiwei1983 authored and facebook-github-bot committed Sep 18, 2024
1 parent ed46a8e commit 761e120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fboss/agent/hw/sai/hw_test/SaiLinkStateRollbackTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ TEST_F(SaiRollbackTest, rollbackLinkUpAndDown) {
rollback(StateDelta(link1DownState, getProgrammedState()));
// Back to square 1
rollback(StateDelta(origState, getProgrammedState()));
for (auto portID : masterLogicalPortIds()) {
for (auto portID : masterLogicalInterfacePortIds()) {
const auto& port = getProgrammedState()->getPorts()->getNodeIf(portID);
EXPECT_TRUE(port->isPortUp());
}
Expand Down

0 comments on commit 761e120

Please sign in to comment.