Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion rs/moq-tokio/tests/max_age.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ async fn relay(version: moq_net::Version, javascript: Option<bool>) -> anyhow::R
let mut child = if let Some(publish) = javascript {
let script = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("../../test/max-age/client.ts");
let mut child = tokio::process::Command::new("bun")
.env("NODE_ENV", "production")
.arg(script)
.arg(url.as_str())
.arg(version.alpn())
Expand Down
3 changes: 3 additions & 0 deletions test/max-age/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import { Producer } from "../../js/net/src/origin.ts";
import * as Path from "../../js/net/src/path.ts";
import { Milli } from "../../js/net/src/time.ts";

// stdout carries the `ready` handshake to the Rust test, so library debug logs go to stderr.
console.debug = console.error;

const [address, protocol, mode] = process.argv.slice(2);
if (!address || !protocol || !["publish", "subscribe"].includes(mode))
throw new Error("expected URL ALPN publish|subscribe");
Expand Down
Loading