diff --git a/syncd/tests/TestSyncdBrcm.cpp b/syncd/tests/TestSyncdBrcm.cpp index f61df661a..6114951e9 100644 --- a/syncd/tests/TestSyncdBrcm.cpp +++ b/syncd/tests/TestSyncdBrcm.cpp @@ -481,7 +481,7 @@ TEST_F(SyncdBrcmTest, nexthopBulkTest) std::vector statuses(count); std::vector object_id(count); status = m_sairedis->bulkCreate( - (sai_object_type_t) SAI_NEXT_HOP_ATTR_TYPE, switchId, + (sai_object_type_t) SAI_OBJECT_TYPE_NEXT_HOP, switchId, count, nh_attrs_count.data(), nh_attrs_array.data(), SAI_BULK_OP_ERROR_MODE_IGNORE_ERROR, object_id.data(), statuses.data()); @@ -497,7 +497,7 @@ TEST_F(SyncdBrcmTest, nexthopBulkTest) statuses.clear(); status = m_sairedis->bulkRemove( - (sai_object_type_t) SAI_NEXT_HOP_ATTR_TYPE, + (sai_object_type_t) SAI_OBJECT_TYPE_NEXT_HOP, count, object_id.data(), SAI_BULK_OP_ERROR_MODE_IGNORE_ERROR, statuses.data());