diff --git a/iceoryx_posh/test/integrationtests/test_posh_mepoo.cpp b/iceoryx_posh/test/integrationtests/test_posh_mepoo.cpp index 73597f3eecb..daa3cf9b327 100644 --- a/iceoryx_posh/test/integrationtests/test_posh_mepoo.cpp +++ b/iceoryx_posh/test/integrationtests/test_posh_mepoo.cpp @@ -449,18 +449,18 @@ TIMING_TEST_F(Mepoo_IntegrationTest, MempoolCreationTimeDefaultConfig, Repeat(5) MemPoolInfoContainer memPoolTestContainer; auto testMempoolConfig = defaultMemPoolConfig(); - auto start = Timer::now(); + auto start = std::chrono::steady_clock::now(); SetUp(memPoolTestContainer, testMempoolConfig, configType::DEFAULT); - auto stop = Timer::now(); + auto stop = std::chrono::steady_clock::now(); // Calc the difference - iox::units::Duration timediff = stop.value() - start.value(); + auto timediff = iox::units::Duration(stop - start); PrintTiming(timediff); - /// Currently we expect that the RouDi is ready at least after 2 seconds + // Currently we expect that the RouDi is ready at least after 2 seconds auto maxtime = 2000_ms; EXPECT_THAT(timediff, Le(maxtime)); });