mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user