Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48abe6a8 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder_ndk_unit_test: shutdown wait time to 20s

Servicemanager will shut down a service after 10s, but this
appears to be hitting a race on certain devices. Switching to
20s to be safe. aidl_lazy_test is the main test testing these
APIs. This is just supposed to test the NDK APIs.

Bug: seeing in presubmit
Test: libbinder_ndk_unit_test
Change-Id: I71b18c917c739f41fffcca1f2250e450aa9d4703
parent 265e9e28
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ constexpr char kForcePersistNdkUnitTestService[] = "ForcePersistNdkUnitTestServi
constexpr char kActiveServicesNdkUnitTestService[] = "ActiveServicesNdkUnitTestService";
constexpr char kBinderNdkUnitTestServiceFlagged[] = "BinderNdkUnitTestFlagged";

constexpr unsigned int kShutdownWaitTime = 11;
constexpr unsigned int kShutdownWaitTime = 20;
constexpr uint64_t kContextTestValue = 0xb4e42fb4d9a1d715;

class MyTestFoo : public IFoo {