From e865af3ae93282892f2293017c9b2aa1eac58796 Mon Sep 17 00:00:00 2001 From: "Breitsprecher, Konrad" Date: Mon, 20 Nov 2023 11:56:00 +0100 Subject: [PATCH] SILKIT-1428: Fix expectation in ITest_Abort (#718) --- SilKit/IntegrationTests/ITest_Abort.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SilKit/IntegrationTests/ITest_Abort.cpp b/SilKit/IntegrationTests/ITest_Abort.cpp index 7d28f45ae..4eb6f74fd 100644 --- a/SilKit/IntegrationTests/ITest_Abort.cpp +++ b/SilKit/IntegrationTests/ITest_Abort.cpp @@ -305,7 +305,7 @@ TEST_F(ITest_Abort, test_Abort_Communication_Ready_Simulation_Sync) EXPECT_CALL(callbacks, ParticipantStateHandler(ParticipantState::CommunicationInitialized)) .Times(Between(1, size)); EXPECT_CALL(callbacks, ParticipantStateHandler(ParticipantState::ReadyToRun)).Times(Between(0, size)); - EXPECT_CALL(callbacks, ParticipantStateHandler(ParticipantState::Running)).Times(0); + EXPECT_CALL(callbacks, ParticipantStateHandler(ParticipantState::Running)).Times(Between(0, size)); EXPECT_CALL(callbacks, ParticipantStateHandler(ParticipantState::Aborting)).Times(size); EXPECT_CALL(callbacks, ParticipantStateHandler(ParticipantState::Stopping)).Times(0); EXPECT_CALL(callbacks, ParticipantStateHandler(ParticipantState::Stopped)).Times(0);