File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,6 +115,21 @@ async fn aimx_roundtrip_over_uds_production_server() {
115115 assert ! ( ev. get( "n" ) . is_some( ) , "event carries a Reading: {ev}" ) ;
116116 }
117117
118+ // Graph introspection wrappers.
119+ let nodes = conn. graph_nodes ( ) . await . expect ( "graph nodes" ) ;
120+ assert ! (
121+ nodes. len( ) >= 2 ,
122+ "configured records should appear as nodes"
123+ ) ;
124+ let _edges = conn. graph_edges ( ) . await . expect ( "graph edges" ) ;
125+ let topo = conn. graph_topo_order ( ) . await . expect ( "topo order" ) ;
126+ assert ! ( !topo. is_empty( ) , "topo order should list the records" ) ;
127+
128+ // Drain wrapper: cold-start creates the per-connection cursor; the response
129+ // echoes the record name.
130+ let drained = conn. drain_record ( "events" ) . await . expect ( "drain events" ) ;
131+ assert_eq ! ( drained. record_name, "events" ) ;
132+
118133 // Fire-and-forget write, then a follow-up RPC. FIFO over the single
119134 // connection guarantees the write is processed before the reply returns.
120135 conn. write_record ( "setting" , json ! ( { "level" : 9 } ) )
You can’t perform that action at this time.
0 commit comments