diff options
Diffstat (limited to 'host/tests/rfnoc_detailgraph_test.cpp')
-rw-r--r-- | host/tests/rfnoc_detailgraph_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/tests/rfnoc_detailgraph_test.cpp b/host/tests/rfnoc_detailgraph_test.cpp index 6273430e6..efae9ff4f 100644 --- a/host/tests/rfnoc_detailgraph_test.cpp +++ b/host/tests/rfnoc_detailgraph_test.cpp @@ -151,7 +151,7 @@ BOOST_AUTO_TEST_CASE(test_graph) topo_sorted_nodes.at(0)->get_unique_id(), mock_rx_radio.get_unique_id()); // Now initialize the graph (will force a call to resolve_all_properties()) - graph.initialize(); + graph.commit(); // This will be ignored graph.connect(&mock_rx_radio, &mock_tx_radio, edge_info); @@ -195,7 +195,7 @@ BOOST_AUTO_TEST_CASE(test_graph_unresolvable) // Now create the graph and commit: graph.connect(&mock_rx_radio, &mock_tx_radio, edge_info); - graph.initialize(); + graph.commit(); // Now set a property that will cause the graph to fail to resolve: BOOST_REQUIRE_THROW(mock_tx_radio.set_property<double>("master_clock_rate", 100e6, 0), |