diff --git a/tests/authenticated_stream_test.nu b/tests/authenticated_stream_test.nu index ac7eac0..8b42d6c 100644 --- a/tests/authenticated_stream_test.nu +++ b/tests/authenticated_stream_test.nu @@ -95,7 +95,7 @@ def main [] { let output_file = $"($db_path)/stream_output.txt" print $"starting stream listener -> ($output_file)" # use websocat to capture output. - let stream_pid = (bash -c $"websocat '($ws_url)' > '($output_file)' 2>&1 & echo $!" | str trim | into int) + let stream_pid = (bash -c $"websocat '($ws_url)' > '($output_file)' & echo $!" | str trim | into int) print $"listener pid: ($stream_pid)" # 4. add repo to hydrant (backfill trigger) diff --git a/tests/common.nu b/tests/common.nu index 37171f7..4fab236 100644 --- a/tests/common.nu +++ b/tests/common.nu @@ -67,4 +67,4 @@ export def wait-for-backfill [url: string] { sleep 2sec } false -} \ No newline at end of file +}