-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PR #5679/fd2ea565 backport][3.8] Update the Autobahn test suite to v…
…0.8.2 (#5807) * Update the Autobahn test suite to v0.8.2 (#5679) Co-authored-by: Dmitry Erlikh <derlih@gmail.com> Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> (cherry picked from commit fd2ea56) * Drop unnecessary attrs install Co-authored-by: Anes Abismail <anesabismail@gmail.com> Co-authored-by: Sviatoslav Sydorenko <sviat@redhat.com>
- Loading branch information
1 parent
3cde8b1
commit de32f08
Showing
13 changed files
with
84 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Updated the Autobahn test suite to v0.8.2. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/reports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM python:3.9.5 | ||
|
||
COPY ./ /src | ||
|
||
WORKDIR /src | ||
|
||
RUN pip install . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: "3.9" | ||
services: | ||
autobahn: | ||
image: crossbario/autobahn-testsuite:0.8.2 | ||
volumes: | ||
- type: bind | ||
source: ./fuzzingserver.json | ||
target: /config/fuzzingserver.json | ||
- type: bind | ||
source: ../reports | ||
target: /reports | ||
|
||
aiohttp: | ||
image: aiohttp-autobahn_aiohttp | ||
depends_on: | ||
- autobahn | ||
command: ["python", "tests/autobahn/client/client.py"] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: "3.9" | ||
services: | ||
aiohttp: | ||
build: | ||
context: ../.. | ||
dockerfile: tests/autobahn/Dockerfile.aiohttp |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
rm -rf $PWD/reports | ||
mkdir $PWD/reports | ||
|
||
docker-compose -p aiohttp-autobahn build | ||
|
||
docker-compose -f $PWD/client/docker-compose.yml up --abort-on-container-exit | ||
docker-compose -f $PWD/client/docker-compose.yml down | ||
|
||
docker-compose -f $PWD/server/docker-compose.yml up --abort-on-container-exit | ||
docker-compose -f $PWD/server/docker-compose.yml down |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
version: "3.9" | ||
services: | ||
autobahn: | ||
image: crossbario/autobahn-testsuite:0.8.2 | ||
depends_on: | ||
- aiohttp | ||
volumes: | ||
- type: bind | ||
source: ./fuzzingclient.json | ||
target: /config/fuzzingclient.json | ||
- type: bind | ||
source: ../reports | ||
target: /reports | ||
command: ["wstest", "--mode", "fuzzingclient", "--spec", "/config/fuzzingclient.json"] | ||
|
||
aiohttp: | ||
image: aiohttp-autobahn_aiohttp | ||
command: ["python", "tests/autobahn/server/server.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"options": { "failByDrop": false }, | ||
"outdir": "./reports/servers", | ||
|
||
"servers": [ | ||
{ | ||
"agent": "AutobahnServer", | ||
"url": "ws://aiohttp:9001", | ||
"options": { "version": 18 } | ||
} | ||
], | ||
|
||
"cases": ["*"], | ||
"exclude-cases": ["12.*", "13.*"], | ||
"exclude-agent-cases": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters