commit | 07bdd9e41fc496530c13cdc3e7af1303286f97c2 | [log] [tgz] |
---|---|---|
author | Inseob Kim <inseob@google.com> | Thu Feb 22 01:00:30 2024 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Feb 22 01:00:30 2024 +0000 |
tree | abbb71bb3e384899fc82f7371f715ca735d7a2b3 | |
parent | 64f5b0f0bf2ab849b1dc414771a46dedade6d467 [diff] | |
parent | 1aa4bdf4458f492729bff274953b4748322b0be7 [diff] |
Merge "Allow crashCommand for tombstone to fail" into main
diff --git a/tests/hostside/java/com/android/microdroid/test/MicrodroidHostTests.java b/tests/hostside/java/com/android/microdroid/test/MicrodroidHostTests.java index 4503cd3..0901fd4 100644 --- a/tests/hostside/java/com/android/microdroid/test/MicrodroidHostTests.java +++ b/tests/hostside/java/com/android/microdroid/test/MicrodroidHostTests.java
@@ -553,7 +553,8 @@ mMicrodroidDevice.enableAdbRoot(); CommandRunner microdroid = new CommandRunner(mMicrodroidDevice); - microdroid.run(crashCommand); + // can crash in the middle of crashCommand; fail is ok + microdroid.tryRun(crashCommand); // check until microdroid is shut down waitForCrosvmExit(android, testStartTime);