Merge "init_kill_services_test: wait 120s for apexd"

This commit is contained in:
Treehugger Robot 2023-06-23 01:07:14 +00:00 committed by Gerrit Code Review
commit b190adfc2e

View file

@ -32,7 +32,7 @@ void ExpectKillingServiceRecovers(const std::string& service_name) {
// b/280514080 - servicemanager will restart apexd, and apexd will restart the
// system when crashed. This is fine as the device recovers, but it causes
// flakes in this test.
ASSERT_TRUE(WaitForProperty("init.svc.apexd", "stopped", 60s))
ASSERT_TRUE(WaitForProperty("init.svc.apexd", "stopped", 120s))
<< (system("cat /dev/binderfs/binder_logs/state"), "apexd won't stop");
LOG(INFO) << "hello " << service_name << "!";