From 7e815610a4fc12a1053cf251307dcf3e7495841b Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Tue, 14 Nov 2023 08:48:42 +0000 Subject: [PATCH] HIDL multithreaded: increase timeout duration This was flaking in infra. I wasn't able to reproduce offline. Yes, this code directly affects a test in system/tools/hidl git project. Bug: 309428730 Test: atest hidl_test Change-Id: Id8eef9f84f208d5c5de739869fe56603da9dc141 --- tests/multithread/1.0/default/Multithread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/multithread/1.0/default/Multithread.h b/tests/multithread/1.0/default/Multithread.h index 0d4a007833..7df75cce0a 100644 --- a/tests/multithread/1.0/default/Multithread.h +++ b/tests/multithread/1.0/default/Multithread.h @@ -33,7 +33,7 @@ struct Multithread : public IMultithread { std::condition_variable mCv; std::mutex mCvMutex; - static constexpr auto kTimeoutDuration = 100ms; + static constexpr auto kTimeoutDuration = 1000ms; }; extern "C" IMultithread* HIDL_FETCH_IMultithread(const char* name);