From 9f2207e9985629305762eedeac9dd1952be903ea Mon Sep 17 00:00:00 2001 From: liujunshuxiu Date: Mon, 11 Aug 2025 21:16:09 +0800 Subject: [PATCH] AppCapturePerfTest.cpp, code sync Signed-off-by: liujunshuxiu --- .../dfr_test/appcapture_perf_test/appcapture_perf_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unittest/dfr_test/appcapture_perf_test/appcapture_perf_test.cpp b/test/unittest/dfr_test/appcapture_perf_test/appcapture_perf_test.cpp index 6e4efb08978..353cd60a6bb 100644 --- a/test/unittest/dfr_test/appcapture_perf_test/appcapture_perf_test.cpp +++ b/test/unittest/dfr_test/appcapture_perf_test/appcapture_perf_test.cpp @@ -87,7 +87,7 @@ HWTEST_F(AppCapturePerfTest, AppCapturePerfTest002, TestSize.Level0) faultData.errorObject.stack = "123,,1478"; faultData.timeoutMarkers = "123456"; int32_t ret = AppCapturePerf::GetInstance().CapturePerf(faultData); - EXPECT_EQ(ret, -1); + EXPECT_EQ(ret, 0); } /** -- Gitee