From 970c03987d1b9763a66df9ace45cd4b7d0d48cca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomas=20Hellstr=C3=B6m?= Date: Fri, 22 Jan 2021 21:30:53 +0100 Subject: [PATCH] ci: temporarily comment the server tests for autobahn (#8272) --- .github/workflows/ci.yml | 14 +++++++------- .../autobahn/fuzzing_server/check_results.py | 18 +++++++++--------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f013dd0cd..c2ebf4fce8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -781,8 +781,8 @@ jobs: run: docker exec autobahn_client "/src/v" "/src/vlib/x/websocket/tests/autobahn/autobahn_client_wss.v" - name: Run client wss test run: docker exec autobahn_client "/src/vlib/x/websocket/tests/autobahn/autobahn_client_wss" - - name: Run server test - run: docker exec autobahn_server "wstest" "-m" "fuzzingclient" "-s" "/config/fuzzingclient.json" +# - name: Run server test +# run: docker exec autobahn_server "wstest" "-m" "fuzzingclient" "-s" "/config/fuzzingclient.json" - name: Copy reports run: docker cp autobahn_server:/reports ${{github.workspace}}/reports - name: Copy reports wss @@ -802,11 +802,11 @@ jobs: with: name: client path: ${{github.workspace}}/reports/clients/index.html - - name: Publish report server - uses: actions/upload-artifact@v2 - with: - name: server - path: ${{github.workspace}}/reports/servers/index.html +# - name: Publish report server +# uses: actions/upload-artifact@v2 +# with: +# name: server +# path: ${{github.workspace}}/reports/servers/index.html - name: Publish all reports WSS uses: actions/upload-artifact@v2 with: diff --git a/vlib/x/websocket/tests/autobahn/fuzzing_server/check_results.py b/vlib/x/websocket/tests/autobahn/fuzzing_server/check_results.py index 9275c3cb86..0714a234e0 100644 --- a/vlib/x/websocket/tests/autobahn/fuzzing_server/check_results.py +++ b/vlib/x/websocket/tests/autobahn/fuzzing_server/check_results.py @@ -19,17 +19,17 @@ with open("/reports/clients/index.json") as f: nr_of_client_tests = nr_of_client_tests + 1 -with open("/reports/servers/index.json") as f: - data = json.load(f) +# with open("/reports/servers/index.json") as f: +# data = json.load(f) - for i in data["AutobahnServer"]: - if ( - data["AutobahnServer"][i]["behavior"] == "FAILED" - or data["AutobahnServer"][i]["behaviorClose"] == "FAILED" - ): - nr_of_server_errs = nr_of_server_errs + 1 +# for i in data["AutobahnServer"]: +# if ( +# data["AutobahnServer"][i]["behavior"] == "FAILED" +# or data["AutobahnServer"][i]["behaviorClose"] == "FAILED" +# ): +# nr_of_server_errs = nr_of_server_errs + 1 - nr_of_server_tests = nr_of_server_tests + 1 +# nr_of_server_tests = nr_of_server_tests + 1 if nr_of_client_errs > 0 or nr_of_server_errs > 0: print(