Loading vibrator/aidl/vts/VtsHalVibratorTargetTest.cpp +5 −4 Original line number Diff line number Diff line Loading @@ -602,9 +602,10 @@ TEST_P(VibratorAidl, ComposeCallback) { EXPECT_EQ(Status::EX_NONE, vibrator->compose(composite, callback).exceptionCode()) << toString(primitive); //TODO(b/187207798): revert back to conservative timeout values once //latencies have been fixed EXPECT_EQ(completionFuture.wait_for(duration * 4), std::future_status::ready) // TODO(b/261130361): Investigate why latency from driver and hardware will cause test // to fail when wait duration is ~40ms or less. EXPECT_EQ(completionFuture.wait_for(duration + std::chrono::milliseconds(50)), std::future_status::ready) << toString(primitive); end = high_resolution_clock::now(); Loading Loading
vibrator/aidl/vts/VtsHalVibratorTargetTest.cpp +5 −4 Original line number Diff line number Diff line Loading @@ -602,9 +602,10 @@ TEST_P(VibratorAidl, ComposeCallback) { EXPECT_EQ(Status::EX_NONE, vibrator->compose(composite, callback).exceptionCode()) << toString(primitive); //TODO(b/187207798): revert back to conservative timeout values once //latencies have been fixed EXPECT_EQ(completionFuture.wait_for(duration * 4), std::future_status::ready) // TODO(b/261130361): Investigate why latency from driver and hardware will cause test // to fail when wait duration is ~40ms or less. EXPECT_EQ(completionFuture.wait_for(duration + std::chrono::milliseconds(50)), std::future_status::ready) << toString(primitive); end = high_resolution_clock::now(); Loading