We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 552e2d4 commit 02539ffCopy full SHA for 02539ff
rclrs/src/node/graph.rs
@@ -484,6 +484,10 @@ mod tests {
484
.and_then(|val| val.parse::<usize>().map_err(|e| format!("{}", e)))
485
.map(|id| if id != 99 { 99 } else { 98 })
486
.expect("Error setting domain_id");
487
+ let context: Context =
488
+ Context::new_with_options([], InitOptions::new().with_domain_id(Some(domain_id)))
489
+ .unwrap_or_else(|error| panic!("Failed to create context: {}", error));
490
+
491
let node_name = "test_publisher_names_and_types";
492
let node = Node::new(&context, node_name).unwrap();
493
// Test that the graph has no publishers
0 commit comments