From e9feb5ea200af528049a830622b744b0a657a738 Mon Sep 17 00:00:00 2001 From: Stepan Blyschak Date: Thu, 17 Nov 2022 14:46:55 +0000 Subject: [PATCH] set test expect replace=false Signed-off-by: Stepan Blyschak --- tests/mock_tests/routeorch_ut.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/mock_tests/routeorch_ut.cpp b/tests/mock_tests/routeorch_ut.cpp index 6586adae72..a5949a2ec3 100644 --- a/tests/mock_tests/routeorch_ut.cpp +++ b/tests/mock_tests/routeorch_ut.cpp @@ -443,7 +443,7 @@ namespace routeorch_test auto consumer = dynamic_cast(gRouteOrch->getExecutor(APP_ROUTE_TABLE_NAME)); consumer->addToSync(entries); - EXPECT_CALL(*gMockResponsePublisher, publish(APP_ROUTE_TABLE_NAME, key, std::vector{{"protocol", "bgp"}}, ReturnCode(SAI_STATUS_SUCCESS), true)).Times(1); + EXPECT_CALL(*gMockResponsePublisher, publish(APP_ROUTE_TABLE_NAME, key, std::vector{{"protocol", "bgp"}}, ReturnCode(SAI_STATUS_SUCCESS), false)).Times(1); static_cast(gRouteOrch)->doTask(); entries.clear(); @@ -455,7 +455,7 @@ namespace routeorch_test consumer->addToSync(entries); - EXPECT_CALL(*gMockResponsePublisher, publish(APP_ROUTE_TABLE_NAME, key, std::vector{}, ReturnCode(SAI_STATUS_SUCCESS), true)).Times(1); + EXPECT_CALL(*gMockResponsePublisher, publish(APP_ROUTE_TABLE_NAME, key, std::vector{}, ReturnCode(SAI_STATUS_SUCCESS), false)).Times(1); static_cast(gRouteOrch)->doTask(); gMockResponsePublisher.reset(); @@ -473,7 +473,7 @@ namespace routeorch_test auto consumer = dynamic_cast(gRouteOrch->getExecutor(APP_ROUTE_TABLE_NAME)); consumer->addToSync(entries); - EXPECT_CALL(*gMockResponsePublisher, publish(APP_ROUTE_TABLE_NAME, key, std::vector{{"protocol", "bgp"}}, ReturnCode(SAI_STATUS_SUCCESS), true)).Times(1); + EXPECT_CALL(*gMockResponsePublisher, publish(APP_ROUTE_TABLE_NAME, key, std::vector{{"protocol", "bgp"}}, ReturnCode(SAI_STATUS_SUCCESS), false)).Times(1); static_cast(gRouteOrch)->doTask(); gMockResponsePublisher.reset();