Skip to content

Commit

Permalink
fixing nexthopBulkTest
Browse files Browse the repository at this point in the history
  • Loading branch information
Ndancejic committed Dec 23, 2024
1 parent 617ef10 commit 4e3fd60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syncd/tests/TestSyncdBrcm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ TEST_F(SyncdBrcmTest, nexthopBulkTest)
std::vector<sai_status_t> statuses(count);
std::vector<sai_object_id_t> 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());
Expand All @@ -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());
Expand Down

0 comments on commit 4e3fd60

Please sign in to comment.