Compare commits

...

1 Commits

Author SHA1 Message Date
Tomoya Fujita
0b04394806 keep the event alive throught the assertion, preveiting the race.
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
2026-03-17 16:58:39 +09:00

View File

@@ -139,7 +139,8 @@ TEST_F(TestNodeGraph, construct_from_node)
EXPECT_NE(nullptr, node_graph()->get_graph_guard_condition());
// get_graph_event is non-const
EXPECT_NE(nullptr, node()->get_node_graph_interface()->get_graph_event());
auto event = node()->get_node_graph_interface()->get_graph_event();
EXPECT_NE(nullptr, event);
EXPECT_LE(1u, node_graph()->count_graph_users());
}