mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Fix broken and flaky VTS tests
nvResetConfig takes some time to reset the modem, causing subsequent
tests to fail with a timeout since the modem is unavailabe.
Add a timeout after nvResetConfig to allow the modem to be up again
before running the next test.
Bug: 259674407
Test: atest VtsHalRadioTargetTest
Change-Id: Ic7188f9d8ccfcd90d844b45e3b370a3be3c515d6
Merged-In: Ic7188f9d8ccfcd90d844b45e3b370a3be3c515d6
(cherry picked from commit ddaea2e5a4)
This commit is contained in:
@@ -654,6 +654,8 @@ TEST_P(RadioHidlTest, nvResetConfig) {
|
||||
ASSERT_TRUE(CheckAnyOfErrors(radioRsp->rspInfo.error,
|
||||
{RadioError::NONE, RadioError::REQUEST_NOT_SUPPORTED}));
|
||||
}
|
||||
// wait until modem reset finishes
|
||||
sleep(10);
|
||||
LOG(DEBUG) << "nvResetConfig finished";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user