mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
x.websocket: websocket server fix and bring back server autobahn (#8291)
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user