Skip to content

Commit

Permalink
UT issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
rpmarvell committed Dec 12, 2024
1 parent 8c27e44 commit 1e3fe0f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions unittest/lib/TestServerSai.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ TEST_F(ServerSaiTest, ProcessStatsCapabilityQuery_ValidInputSuccess)
EXPECT_CALL(*mockSelectableChannel, set(
StrEq("SAI_STATUS_SUCCESS"),
AllOf(
Contains(FieldValueTuple("STAT_ENUM", "1,3,5,7,9")),
Contains(FieldValueTuple("STAT_MODES", "2,4,6,8,10")),
Contains(FieldValueTuple("STAT_COUNT", "5"))
Contains(swss::FieldValueTuple("STAT_ENUM", "1,3,5,7,9")),
Contains(swss::FieldValueTuple("STAT_MODES", "2,2,2,2,2")),
Contains(swss::FieldValueTuple("STAT_COUNT", "5"))
),
StrEq(REDIS_ASIC_STATE_COMMAND_STATS_CAPABILITY_RESPONSE)
)).Times(1);
Expand Down Expand Up @@ -201,7 +201,7 @@ TEST_F(ServerSaiTest, ProcessStatsCapabilityQuery_BufferOverflow)

EXPECT_CALL(*mockSelectableChannel, set(
StrEq("SAI_STATUS_BUFFER_OVERFLOW"),
Contains(FieldValueTuple("STAT_COUNT", "31")),
Contains(swss::FieldValueTuple("STAT_COUNT", "31")),
StrEq(REDIS_ASIC_STATE_COMMAND_STATS_CAPABILITY_RESPONSE)
)).Times(1);

Expand Down

0 comments on commit 1e3fe0f

Please sign in to comment.