From 171fda818ac71c9082590f8b553bc45990701145 Mon Sep 17 00:00:00 2001 From: chuxing Date: Sun, 28 Mar 2021 15:07:22 +0800 Subject: [PATCH] fix ut --- tests/ut/ge/hybrid/ge_hybrid_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);