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
This commit is contained in:
Steven Moreland 2023-11-14 08:48:42 +00:00
parent 3143e6930b
commit 7e815610a4

View file

@ -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);