diff --git a/unittest/lib/test_sai_redis_dash_eni.cpp b/unittest/lib/test_sai_redis_dash_eni.cpp index 5949762c6..4dcac45a4 100644 --- a/unittest/lib/test_sai_redis_dash_eni.cpp +++ b/unittest/lib/test_sai_redis_dash_eni.cpp @@ -28,6 +28,9 @@ TEST(libsairedis, dash_eni) EXPECT_NE(SAI_STATUS_SUCCESS, api->remove_eni(0)); EXPECT_NE(SAI_STATUS_SUCCESS, api->set_eni_attribute(0,0)); EXPECT_NE(SAI_STATUS_SUCCESS, api->get_eni_attribute(0,0,0)); + EXPECT_NE(SAI_STATUS_SUCCESS, api->get_eni_stats(0,0,0,0)); + EXPECT_NE(SAI_STATUS_SUCCESS, api->get_eni_stats_ext(0,0,0,SAI_STATS_MODE_READ,0)); + EXPECT_NE(SAI_STATUS_SUCCESS, api->clear_eni_stats(0,0,0)); EXPECT_NE(SAI_STATUS_SUCCESS, api->create_enis(0,0,0,0,SAI_BULK_OP_ERROR_MODE_IGNORE_ERROR,0,0)); EXPECT_NE(SAI_STATUS_SUCCESS, api->remove_enis(0,0,SAI_BULK_OP_ERROR_MODE_IGNORE_ERROR,0)); } diff --git a/unittest/vslib/test_sai_vs_dash_eni.cpp b/unittest/vslib/test_sai_vs_dash_eni.cpp index c40c7d724..4b2dd061f 100644 --- a/unittest/vslib/test_sai_vs_dash_eni.cpp +++ b/unittest/vslib/test_sai_vs_dash_eni.cpp @@ -28,6 +28,9 @@ TEST(libsaivs, dash_eni) EXPECT_NE(SAI_STATUS_SUCCESS, api->remove_eni(0)); EXPECT_NE(SAI_STATUS_SUCCESS, api->set_eni_attribute(0,0)); EXPECT_NE(SAI_STATUS_SUCCESS, api->get_eni_attribute(0,0,0)); + EXPECT_NE(SAI_STATUS_SUCCESS, api->get_eni_stats(0,0,0,0)); + EXPECT_NE(SAI_STATUS_SUCCESS, api->get_eni_stats_ext(0,0,0,SAI_STATS_MODE_READ,0)); + EXPECT_NE(SAI_STATUS_SUCCESS, api->clear_eni_stats(0,0,0)); EXPECT_NE(SAI_STATUS_SUCCESS, api->create_enis(0,0,0,0,SAI_BULK_OP_ERROR_MODE_IGNORE_ERROR,0,0)); EXPECT_NE(SAI_STATUS_SUCCESS, api->remove_enis(0,0,SAI_BULK_OP_ERROR_MODE_IGNORE_ERROR,0)); }