Fix OffloadControlHidlTestBase.AdditionalStopsWithInitReturnFalse
This test is testing that subsequent calls to stopOffload fail. Therefore, don't fail if the first call fails. Only fail if the subsequent calls fail Bug: 77996655 Test: OffloadControlHidlTestBase.AdditionalStopsWithInitReturnFalse passes Change-Id: I819a2942cc9bb2bca5cf0f603bb7e2b2b9b03d23
This commit is contained in:
parent
5f9aec4f54
commit
d14d8e4759
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ TEST_F(OffloadControlHidlTestBase, AdditionalStopsWithInitReturnFalse) {
|
|||
return;
|
||||
}
|
||||
SCOPED_TRACE("Expecting stopOffload to succeed");
|
||||
stopOffload(ExpectBoolean::True); // balance out initOffload(true)
|
||||
stopOffload(ExpectBoolean::Ignored); // balance out initOffload(true)
|
||||
SCOPED_TRACE("Expecting stopOffload to fail the first time");
|
||||
stopOffload(ExpectBoolean::False);
|
||||
SCOPED_TRACE("Expecting stopOffload to fail the second time");
|
||||
|
|
Loading…
Reference in a new issue