mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Fix VTS test which turns off radio.
Since the purpose of most of the test cases in current VTS is to check
if proper errors are returned and there is no crash seen in vendor code,
updating setRadioPower test case to turn on the radio instead of
turning off. We want to avoid test cases which turn off
radio or leads to modem shut down as those test cases affect other tests.
Test: VTS
Change-Id: I4fb9f18884f7ef21162015a0032c4431444f7025
Merged-In: I4fb9f18884f7ef21162015a0032c4431444f7025
Bug: 65230472
(cherry picked from commit 9a721b8087)
This commit is contained in:
committed by
Jaekyun Seok
parent
3c01fef56c
commit
536818d17a
@@ -70,7 +70,7 @@ TEST_F(RadioHidlTest, getOperator) {
|
||||
TEST_F(RadioHidlTest, setRadioPower) {
|
||||
int serial = GetRandomSerialNumber();
|
||||
|
||||
radio->setRadioPower(serial, 0);
|
||||
radio->setRadioPower(serial, 1);
|
||||
EXPECT_EQ(std::cv_status::no_timeout, wait());
|
||||
EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp->rspInfo.type);
|
||||
EXPECT_EQ(serial, radioRsp->rspInfo.serial);
|
||||
|
||||
Reference in New Issue
Block a user