File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ This is a test agent for integration testing.
4343 fs:: create_dir_all ( temp_dir. join ( ".github/agents" ) ) . expect ( "Failed to create .github/agents" ) ;
4444
4545 // Run the compilation
46- let output_yaml = temp_dir. join ( "test-agent.yml" ) ;
46+ let _output_yaml = temp_dir. join ( "test-agent.yml" ) ;
4747
4848 // Note: We can't directly call compile_pipeline from here since it's not a library function
4949 // This test verifies the output structure when compile runs
@@ -3730,7 +3730,7 @@ fn assert_marker_step_present(
37303730 "{fixture_name}: marker line missing schema=1: {line}"
37313731 ) ;
37323732 assert ! (
3733- line. contains( & format! ( "\" source\" :\" " ) ) && line. contains( expected_source_suffix) ,
3733+ line. contains( "\" source\" :\" " ) && line. contains( expected_source_suffix) ,
37343734 "{fixture_name}: marker line does not include source suffix {expected_source_suffix}: {line}"
37353735 ) ;
37363736 // The runtime echo on the next line should mirror the same data
Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ use std::io::BufRead;
22use std:: process:: { Child , Command , Stdio } ;
33use std:: time:: Duration ;
44
5- /// Integration tests for the SafeOutputs HTTP server (`mcp-http` subcommand).
6- ///
7- /// These tests validate the HTTP transport layer that MCPG uses to reach
8- /// SafeOutputs. They do NOT require Docker or the MCPG gateway — they test
9- /// the ado-aw HTTP server directly.
5+ // Integration tests for the SafeOutputs HTTP server (`mcp-http` subcommand).
6+ //
7+ // These tests validate the HTTP transport layer that MCPG uses to reach
8+ // SafeOutputs. They do NOT require Docker or the MCPG gateway — they test
9+ // the ado-aw HTTP server directly.
1010
1111/// Guard that kills the child process on drop (even on panic).
1212struct ServerGuard {
@@ -94,6 +94,7 @@ fn start_server() -> ServerGuard {
9494 }
9595 // Kill and panic if not ready
9696 child. kill ( ) . ok ( ) ;
97+ child. wait ( ) . ok ( ) ;
9798 panic ! ( "SafeOutputs HTTP server did not become ready within 5 s" ) ;
9899}
99100
You can’t perform that action at this time.
0 commit comments