Skip to content

Commit

Permalink
Updating autobahn test client execution script
Browse files Browse the repository at this point in the history
  • Loading branch information
theturtle32 committed Aug 28, 2020
1 parent 481144a commit 0a99a5c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
},
"devDependencies": {
"buffer-equal": "^1.0.0",
"faucet": "^0.0.1",
"gulp": "^4.0.2",
"gulp-jshint": "^2.0.4",
"jshint-stylish": "^2.2.1",
Expand All @@ -47,7 +46,7 @@
"verbose": false
},
"scripts": {
"test": "faucet test/unit",
"test": "tape test/unit/*.js",
"gulp": "gulp"
},
"main": "index",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"servers": [
{
"agent": "WebSocket-Node 1.0.27",
"url": "ws://127.0.0.1:8080",
"url": "ws://host.docker.internal:8080",
"options": {"version": 18}
}
],
Expand Down
10 changes: 9 additions & 1 deletion test/autobahn/run-wstest.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#!/bin/bash

wstest -s ./fuzzingclient.json -m fuzzingclient
# wstest -s ./fuzzingclient.json -m fuzzingclient

docker run -it --rm \
-v "${PWD}/config:/config" \
-v "${PWD}/reports:/reports" \
-p 9001:9001 \
--name fuzzingclient \
crossbario/autobahn-testsuite \
/usr/local/bin/wstest -m fuzzingclient --spec /config/fuzzingclient.json

0 comments on commit 0a99a5c

Please sign in to comment.