Skip to content

Commit

Permalink
Update TestVendorSai.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
aviramd authored Dec 19, 2024
1 parent 659fb26 commit f7f15f3
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions unittest/syncd/TestVendorSai.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1544,21 +1544,6 @@ TEST(VendorSai, bulk_meter_rules)
EXPECT_EQ(SAI_STATUS_SUCCESS, sai.remove((sai_object_type_t)SAI_OBJECT_TYPE_METER_POLICY, meter_policy1));
}

TEST_F(VendorSaiTest, bulk_prefix_compression_entry)
{
sai_prefix_compression_entry_t *e = nullptr;

// metadata will fail
EXPECT_EQ(SAI_STATUS_INVALID_PARAMETER,
m_vsai->bulkCreate(0, e, nullptr, nullptr, SAI_BULK_OP_ERROR_MODE_STOP_ON_ERROR, nullptr));

EXPECT_EQ(SAI_STATUS_INVALID_PARAMETER,
m_vsai->bulkRemove(0, e, SAI_BULK_OP_ERROR_MODE_STOP_ON_ERROR, nullptr));

EXPECT_EQ(SAI_STATUS_NOT_SUPPORTED,
m_vsai->bulkSet(0, e, nullptr, SAI_BULK_OP_ERROR_MODE_STOP_ON_ERROR, nullptr));
}

TEST_F(VendorSaiTest, dbgGenerateDump)
{
const std::string filePath = "/var/log/testDump.log";
Expand Down

0 comments on commit f7f15f3

Please sign in to comment.