!1217 修改驱动用例

Merge pull request !1217 from zhangxiaofei/hdf_20240814
This commit is contained in:
openharmony_ci 2024-08-15 02:35:11 +00:00 committed by Gitee
commit e7d607de51
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 1 additions and 1 deletions

View File

@ -1028,7 +1028,6 @@ HWTEST_F(CameraHdiTestV1_2, SUB_Driver_Camera_SteadyShot_0300, TestSize.Level1)
// start preview, video and capture
cameraTest->StartCapture(cameraTest->streamIdPreview, cameraTest->captureIdPreview, false, true);
cameraTest->StartCapture(cameraTest->streamIdVideo, cameraTest->captureIdVideo, false, true);
cameraTest->StartCapture(cameraTest->streamIdCapture, cameraTest->captureIdCapture, false, false);
// wait to stop
uint32_t waitTime = 0;
auto envStr = getenv("UT_SUPER_STAB_KEEP_SECOND");

View File

@ -385,6 +385,7 @@ void DeviceTest::TearDown()
void DeviceLayerDisplay::TearDown()
{
HdiTestDevice::GetInstance().Clear();
HdiTestDevice::GetInstance().GetFirstDisplay()->ResetClientLayer();
}
void VblankCtr::NotifyVblank(unsigned int sequence, uint64_t ns, const void* data)