X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Ftesting%2FTestCase.cpp;h=1c5beeb63be400b1b90121c96a6348a4e97a1a9c;hb=2921c651c9945cefec0715167201596aaa079e8d;hp=ccb9b420a716aabf30faad3ec07f63fc351bc63b;hpb=4552131b751399a8b4fd323f5547f91c7cb0f978;p=anna.git diff --git a/example/diameter/launcher/testing/TestCase.cpp b/example/diameter/launcher/testing/TestCase.cpp index ccb9b42..1c5beeb 100644 --- a/example/diameter/launcher/testing/TestCase.cpp +++ b/example/diameter/launcher/testing/TestCase.cpp @@ -343,6 +343,7 @@ TestStepWait *TestCase::searchNextWaitConditionFulfilled(const anna::DataBlock & TestStepWait *result; for (std::vector::const_iterator it = a_stepsIt /* current */; it != a_steps.end(); it++) { if ((*it)->getType() != TestStep::Type::Wait) continue; + if ((*it)->isCompleted()) continue; result = (TestStepWait*)(*it); if ((result->getCondition().receivedFromEntity() == waitFromEntity) && (result->fulfilled(message))) return result;