TT#14008 fix test case for older libwebsockets

Change-Id: If8ef0ec2289541d7ebba3fe2c386e02556461bf8
pull/1346/head
Richard Fuchs 5 years ago
parent 3db742e329
commit 792b736f10

@ -18,7 +18,7 @@ async def get_ws(cls, proto):
for _ in range(1, 300): for _ in range(1, 300):
try: try:
cls._ws = await websockets.connect( cls._ws = await websockets.connect(
"ws://localhost:9191/", subprotocols=[proto] "ws://127.0.0.1:9191/", subprotocols=[proto]
) )
break break
except: except:
@ -2039,7 +2039,7 @@ if __name__ == "__main__":
"-L", "-L",
"7", "7",
"-E", "-E",
"--listen-http=localhost:9191", "--listen-http=127.0.0.1:9191",
"--janus-secret=dfgdfgdvgLyATjHPvckg", "--janus-secret=dfgdfgdvgLyATjHPvckg",
"--delete-delay=0", "--delete-delay=0",
], ],

Loading…
Cancel
Save