Skip to content

Commit e9feb5e

Browse files
set test expect replace=false
Signed-off-by: Stepan Blyschak <[email protected]>
1 parent 47a65eb commit e9feb5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/mock_tests/routeorch_ut.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ namespace routeorch_test
443443
auto consumer = dynamic_cast<Consumer *>(gRouteOrch->getExecutor(APP_ROUTE_TABLE_NAME));
444444
consumer->addToSync(entries);
445445

446-
EXPECT_CALL(*gMockResponsePublisher, publish(APP_ROUTE_TABLE_NAME, key, std::vector<FieldValueTuple>{{"protocol", "bgp"}}, ReturnCode(SAI_STATUS_SUCCESS), true)).Times(1);
446+
EXPECT_CALL(*gMockResponsePublisher, publish(APP_ROUTE_TABLE_NAME, key, std::vector<FieldValueTuple>{{"protocol", "bgp"}}, ReturnCode(SAI_STATUS_SUCCESS), false)).Times(1);
447447
static_cast<Orch *>(gRouteOrch)->doTask();
448448

449449
entries.clear();
@@ -455,7 +455,7 @@ namespace routeorch_test
455455

456456
consumer->addToSync(entries);
457457

458-
EXPECT_CALL(*gMockResponsePublisher, publish(APP_ROUTE_TABLE_NAME, key, std::vector<FieldValueTuple>{}, ReturnCode(SAI_STATUS_SUCCESS), true)).Times(1);
458+
EXPECT_CALL(*gMockResponsePublisher, publish(APP_ROUTE_TABLE_NAME, key, std::vector<FieldValueTuple>{}, ReturnCode(SAI_STATUS_SUCCESS), false)).Times(1);
459459
static_cast<Orch *>(gRouteOrch)->doTask();
460460

461461
gMockResponsePublisher.reset();
@@ -473,7 +473,7 @@ namespace routeorch_test
473473
auto consumer = dynamic_cast<Consumer *>(gRouteOrch->getExecutor(APP_ROUTE_TABLE_NAME));
474474
consumer->addToSync(entries);
475475

476-
EXPECT_CALL(*gMockResponsePublisher, publish(APP_ROUTE_TABLE_NAME, key, std::vector<FieldValueTuple>{{"protocol", "bgp"}}, ReturnCode(SAI_STATUS_SUCCESS), true)).Times(1);
476+
EXPECT_CALL(*gMockResponsePublisher, publish(APP_ROUTE_TABLE_NAME, key, std::vector<FieldValueTuple>{{"protocol", "bgp"}}, ReturnCode(SAI_STATUS_SUCCESS), false)).Times(1);
477477
static_cast<Orch *>(gRouteOrch)->doTask();
478478

479479
gMockResponsePublisher.reset();

0 commit comments

Comments
 (0)