From 8fbb8d6329c1f684b4c8fc287805a7af5d7ad727 Mon Sep 17 00:00:00 2001 From: tangshihua Date: Fri, 6 Jan 2023 11:43:14 +0800 Subject: [PATCH] bugfix Signed-off-by: tangshihua --- ai/neural_network_runtime/stability/src/MultiThreadTest.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ai/neural_network_runtime/stability/src/MultiThreadTest.cpp b/ai/neural_network_runtime/stability/src/MultiThreadTest.cpp index 20fd1c521..0c613c2dc 100644 --- a/ai/neural_network_runtime/stability/src/MultiThreadTest.cpp +++ b/ai/neural_network_runtime/stability/src/MultiThreadTest.cpp @@ -83,7 +83,7 @@ HWTEST_F(MultiThreadTest, SUB_AI_NNR_Reliability_North_Stress_0200, Reliability for (int i = 0; i < STRESS_COUNT; i++) { OH_NNExecutor *executor1 = OH_NNExecutor_Construct(compilation1); ASSERT_NE(nullptr, executor1); - ASSERT_EQ(OH_NN_SUCCESS, ExecuteGraphMock(executor, graphArgs, nullptr)); + ASSERT_EQ(OH_NN_SUCCESS, ExecuteGraphMock(executor1, graphArgs, nullptr)); OH_NNExecutor_Destroy(&executor1); ASSERT_EQ(nullptr, executor1); if (i % PRINT_FREQ == 0) { @@ -91,5 +91,4 @@ HWTEST_F(MultiThreadTest, SUB_AI_NNR_Reliability_North_Stress_0200, Reliability } } Free(model1, compilation1); - Free(model2, compilation2); } -- GitLab