Skip to content

Commit

Permalink
ds
Browse files Browse the repository at this point in the history
  • Loading branch information
c410-f3r committed Sep 29, 2023
1 parent a873906 commit 2861bd3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .scripts/autobahn-fuzzingserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand Down
2 changes: 1 addition & 1 deletion wtx/src/bin/autobahn-client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion wtx/src/bin/autobahn-server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2861bd3

Please sign in to comment.