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 36ba2afd69e88b4e78a3755e44b4602258c8c8c6..e33ba1d804f9004f83176ef694059c2134f6de37 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)