update hdf/sensor/hdiService/hdf_sensor_hdiService_test.cpp.

Signed-off-by: lixin475 <lixin475@huawei.com>
This commit is contained in:
lixin475 2024-03-29 03:52:28 +00:00 committed by Gitee
parent 1cc052516b
commit f6f68c9a9e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1387,7 +1387,7 @@ HWTEST_F(HdfSensorHdiTest, SUB_Driver_Sensor_HdiSensor_8200, TestSize.Level1)
EXPECT_NE(SENSOR_SUCCESS, ret);
OsalMSleep(SENSOR_WAIT_TIME);
ret = g_sensorInterface->SetSdcSensor(SENSOR_TYPE_MAGNETIC_FIELD, false, RATE_LEVEL);
EXPECT_NE(SENSOR_SUCCESS, ret);
EXPECT_NE(SENSOR_SUCCESS, ret);
}
/**