open-standards/joule-code/joule-code-rs/crates/joule-moq-relay/tests/relay_quic.rs
Transaction Science 8830fa2010 joule-moq-relay: two publishers and three subscribers over QUIC, WebTransport and WebSocket
One scenario run over each transport on loopback: a publisher reached by the
namespace route and one by PUBLISH, three subscribers of both, one of them
discovering the first namespace by SUBSCRIBE_NAMESPACE. Every object reaches
every subscriber and verifies against its publisher's signed receipts, which
the relay checks at the door; every session's summary verifies under the
relay's key and labels the relay's energy unmetered.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-17 04:37:09 -04:00

10 lines
412 B
Rust

//! Two publishers and three subscribers through the relay over native QUIC (ALPN moqt-22).
mod common;
#[tokio::test(flavor = "multi_thread", worker_threads = 4)]
async fn two_publishers_three_subscribers_over_quic() {
tokio::time::timeout(std::time::Duration::from_secs(120), common::two_publishers_three_subscribers(common::Via::Quic))
.await
.expect("the scenario finishes in time");
}