diff --git a/multimedia_lite/camera_lite_posix/camera_native/src/ActsMediaCameraTest.cpp b/multimedia_lite/camera_lite_posix/camera_native/src/ActsMediaCameraTest.cpp index 52a1bd6db12f708541d395d2f7293a6adbd2e307..8544c28c9e9edf5fb6a39080cf8e306db4243a02 100755 --- a/multimedia_lite/camera_lite_posix/camera_native/src/ActsMediaCameraTest.cpp +++ b/multimedia_lite/camera_lite_posix/camera_native/src/ActsMediaCameraTest.cpp @@ -1754,7 +1754,7 @@ HWTEST_F(CameraLiteTest, Test_AddSurface_002, Level1) frameConfig->AddSurface(*surface); frameConfig->AddSurface(*surface); list list = frameConfig->GetSurfaces(); - EXPECT_TRUE(list.size() == 2); + EXPECT_TRUE(list.size() == 1); } HWTEST_F(CameraLiteTest, Test_AddSurface_003, Level1) @@ -1765,7 +1765,7 @@ HWTEST_F(CameraLiteTest, Test_AddSurface_003, Level1) frameConfig->AddSurface(*surface); frameConfig->AddSurface(*surface); list list = frameConfig->GetSurfaces(); - EXPECT_TRUE(list.size() == 3); + EXPECT_TRUE(list.size() == 1); } HWTEST_F(CameraLiteTest, PrfTest_AddSurface_001, Level1)