Browse Source

fix ut

tags/v1.3.0
chuxing 3 years ago
parent
commit
171fda818a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/ut/ge/hybrid/ge_hybrid_unittest.cc

+ 1
- 1
tests/ut/ge/hybrid/ge_hybrid_unittest.cc View File

@@ -323,7 +323,7 @@ TEST_F(UtestGeHybrid, test_parse_parallel_group) {
ASSERT_FALSE(model.node_items_[node]->has_observer); ASSERT_FALSE(model.node_items_[node]->has_observer);
ASSERT_TRUE(model.node_items_[node_1]->dependents_for_execution.empty()); ASSERT_TRUE(model.node_items_[node_1]->dependents_for_execution.empty());
ASSERT_EQ(builder.ParseDependentByParallelGroup(), SUCCESS); 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.size(), 1);
ASSERT_EQ(model.node_items_[node_1]->dependents_for_execution[0], node); ASSERT_EQ(model.node_items_[node_1]->dependents_for_execution[0], node);




Loading…
Cancel
Save