Skip to content

Commit e61ab7f

Browse files
committed
fix test
1 parent ec4e8c9 commit e61ab7f

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎cli/tests/execute_block.rs‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,6 @@ async fn execute_block_works() {
151151

152152
let block_execution = execute_block_range(&ws_url, from, to);
153153

154-
// Let the process run to completion and capture its full output. `Child::stderr` is an
155-
// `Option` that can only be `take()`n once, and `wait_for_stream_pattern_match` stops
156-
// reading as soon as it finds a match, so streaming it twice would either panic on the
157-
// second `take()` or silently miss data buffered past the first match. Capturing the
158-
// full output up front and matching against it lets us check both conditions safely.
159154
let output = block_execution.wait_with_output().await.unwrap();
160155
let stderr = String::from_utf8_lossy(&output.stderr);
161156

0 commit comments

Comments
 (0)