From 71d0cd706befa05d77296168c568b2d9db0b31fb Mon Sep 17 00:00:00 2001 From: vargheseg <19566373+vargheseg@users.noreply.github.com> Date: Wed, 22 Jul 2020 14:58:31 +0200 Subject: [PATCH] Correction to runtimeErrorHandling_testPolledRead. --- tests/executables_src/testExceptionHandling.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/executables_src/testExceptionHandling.cc b/tests/executables_src/testExceptionHandling.cc index ca74fd14..1298081c 100644 --- a/tests/executables_src/testExceptionHandling.cc +++ b/tests/executables_src/testExceptionHandling.cc @@ -112,6 +112,7 @@ BOOST_FIXTURE_TEST_CASE(runtimeErrorHandling_testPolledRead, Fixture) { 10000); + pollInput.read(); auto versionNumberOnRuntimeError = pollInput.getVersionNumber(); BOOST_CHECK_EQUAL(pollInput, 100); @@ -123,6 +124,7 @@ BOOST_FIXTURE_TEST_CASE(runtimeErrorHandling_testPolledRead, Fixture) { // Behavior on device recovery /************************************************************************************************/ deviceBackend->throwExceptionRead = false; + pollInput.read(); // workaround: wait till device module recovey completes; assumption: status variable == 0 => // device recovered. CHECK_TIMEOUT( -- GitLab