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

Commit 3ac09949 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder_ndk_unit_test: wait slightly longer

If the timing is unlucky:
- servicemanager might have 'guaranteeClient' set for 5s
- then the timerfd will expire 5s after that

Due to scheduler delays, the service may not be shutdown after 5s.

Bug: 243452512
Change-Id: I7f0377b0d835900bfef8e0ec55389843357f779d
Test: libbinder_ndk_unit_test
parent d9f38a04
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ constexpr char kLazyBinderNdkUnitTestService[] = "LazyBinderNdkUnitTest";
constexpr char kForcePersistNdkUnitTestService[] = "ForcePersistNdkUnitTestService";
constexpr char kActiveServicesNdkUnitTestService[] = "ActiveServicesNdkUnitTestService";

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

class MyTestFoo : public IFoo {