diff --git a/.scripts/autobahn-fuzzingserver.sh b/.scripts/autobahn-fuzzingserver.sh index 2a21f795..f0cc8908 100755 --- a/.scripts/autobahn-fuzzingserver.sh +++ b/.scripts/autobahn-fuzzingserver.sh @@ -16,7 +16,7 @@ podman run \ --net=host \ docker.io/crossbario/autobahn-testsuite:0.8.2 wstest -m fuzzingserver -s fuzzingserver.json sleep 5 -cargo run --bin autobahn-client --features flate2,tokio,web-socket-handshake --release -- 127.0.0.1:9080 +cargo run --bin autobahn-client --features flate2,tokio,web-socket-handshake --release podman rm --force --ignore fuzzingserver if [ $(grep -ci "failed" .scripts/autobahn/reports/fuzzingserver/index.json) -gt 0 ] diff --git a/wtx/src/bin/autobahn-client.rs b/wtx/src/bin/autobahn-client.rs index 4661bbae..713f2f42 100644 --- a/wtx/src/bin/autobahn-client.rs +++ b/wtx/src/bin/autobahn-client.rs @@ -13,7 +13,7 @@ use wtx::{ #[tokio::main(flavor = "current_thread")] async fn main() -> Result<(), Error> { let fb = &mut <_>::default(); - let host = "127.0.0.1:9070"; + let host = "127.0.0.1:9080"; let pb = &mut PartitionedBuffer::default(); for case in 1..=get_case_count(fb, &host, pb).await? { let (_, mut ws) = WebSocketClient::connect(WebSocketConnectRaw { diff --git a/wtx/src/bin/autobahn-server.rs b/wtx/src/bin/autobahn-server.rs index 8f7f5a5f..b8635854 100644 --- a/wtx/src/bin/autobahn-server.rs +++ b/wtx/src/bin/autobahn-server.rs @@ -8,7 +8,7 @@ use wtx::web_socket::compression::Flate2; #[tokio::main(flavor = "current_thread")] async fn main() -> wtx::Result<()> { - let listener = TcpListener::bind("127.0.0.1:9080").await?; + let listener = TcpListener::bind("127.0.0.1:9070").await?; loop { let (stream, _) = listener.accept().await?; let _jh = tokio::spawn(async move {