diff --git a/tests/ut/ge/hybrid/ge_hybrid_unittest.cc b/tests/ut/ge/hybrid/ge_hybrid_unittest.cc index 2878a177..e54e1bd3 100644 --- a/tests/ut/ge/hybrid/ge_hybrid_unittest.cc +++ b/tests/ut/ge/hybrid/ge_hybrid_unittest.cc @@ -323,7 +323,7 @@ TEST_F(UtestGeHybrid, test_parse_parallel_group) { ASSERT_FALSE(model.node_items_[node]->has_observer); ASSERT_TRUE(model.node_items_[node_1]->dependents_for_execution.empty()); ASSERT_EQ(builder.ParseDependentByParallelGroup(), SUCCESS); - ASSERT_TRUE(node_item->has_observer); + ASSERT_TRUE(model.node_items_[node]->has_observer); ASSERT_EQ(model.node_items_[node_1]->dependents_for_execution.size(), 1); ASSERT_EQ(model.node_items_[node_1]->dependents_for_execution[0], node);