diff options
author | Lorenzo Colitti | 2018-05-11 02:38:31 -0500 |
---|---|---|
committer | Lorenzo Colitti | 2018-05-11 03:02:42 -0500 |
commit | d14d8e475917508fe315f7ef2a73e2cd88d4156c (patch) | |
tree | 0e9a97c03043b01239cf74e0fce301e7f6bab695 /tetheroffload/control | |
parent | 5f9aec4f541fc72e521b688b1d686a6bc3b4b1cb (diff) | |
download | platform-hardware-interfaces-d14d8e475917508fe315f7ef2a73e2cd88d4156c.tar.gz platform-hardware-interfaces-d14d8e475917508fe315f7ef2a73e2cd88d4156c.tar.xz platform-hardware-interfaces-d14d8e475917508fe315f7ef2a73e2cd88d4156c.zip |
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
Diffstat (limited to 'tetheroffload/control')
-rw-r--r-- | tetheroffload/control/1.0/vts/functional/VtsHalTetheroffloadControlV1_0TargetTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tetheroffload/control/1.0/vts/functional/VtsHalTetheroffloadControlV1_0TargetTest.cpp b/tetheroffload/control/1.0/vts/functional/VtsHalTetheroffloadControlV1_0TargetTest.cpp index 2cd98626..03b6406d 100644 --- a/tetheroffload/control/1.0/vts/functional/VtsHalTetheroffloadControlV1_0TargetTest.cpp +++ b/tetheroffload/control/1.0/vts/functional/VtsHalTetheroffloadControlV1_0TargetTest.cpp | |||
@@ -281,7 +281,7 @@ TEST_F(OffloadControlHidlTestBase, AdditionalStopsWithInitReturnFalse) { | |||
281 | return; | 281 | return; |
282 | } | 282 | } |
283 | SCOPED_TRACE("Expecting stopOffload to succeed"); | 283 | SCOPED_TRACE("Expecting stopOffload to succeed"); |
284 | stopOffload(ExpectBoolean::True); // balance out initOffload(true) | 284 | stopOffload(ExpectBoolean::Ignored); // balance out initOffload(true) |
285 | SCOPED_TRACE("Expecting stopOffload to fail the first time"); | 285 | SCOPED_TRACE("Expecting stopOffload to fail the first time"); |
286 | stopOffload(ExpectBoolean::False); | 286 | stopOffload(ExpectBoolean::False); |
287 | SCOPED_TRACE("Expecting stopOffload to fail the second time"); | 287 | SCOPED_TRACE("Expecting stopOffload to fail the second time"); |