-
-
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.
Update the Autobahn test suite to v0.8.2 (#5679)
Co-authored-by: Dmitry Erlikh <[email protected]> Co-authored-by: Sviatoslav Sydorenko <[email protected]>
- Loading branch information
1 parent
ca2a1fd
commit fd2ea56
Showing
13 changed files
with
94 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,17 @@ | ||
FROM python:3.9.5 | ||
|
||
COPY ./ /src | ||
|
||
WORKDIR /src | ||
|
||
RUN pip install . | ||
# NOTE: The attrs lib is necessary because it's | ||
# NOTE: still a de-facto runtime dependency of | ||
# NOTE: aiohttp. Although it shouldn't be anymore | ||
# NOTE: after the effort to get rid of it. | ||
# NOTE: It must be removed once made redundant. | ||
# Refs: | ||
# * https://github.com/aio-libs/aiohttp/issues/5806 | ||
# * https://github.com/aio-libs/aiohttp/pull/5679/files#r654428147 | ||
# * https://github.com/aio-libs/aiohttp/pull/5284 | ||
RUN pip install attrs |
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