Skip to content

Commit 92cb07a

Browse files
authored
Avoid use of port 8088 in socket tests. NFC (#21512)
This port is used by the goma compiler webserver which causes these tests to fail on machines that are running the goma compiler.
1 parent a589a22 commit 92cb07a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/websocket/nodejs_websocket_echo_server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function hexDump(bytes) {
1717
}
1818

1919
var decoder = new TextDecoder('utf-8');
20-
var port = 8088;
20+
var port = 8089;
2121
var ws = require('ws');
2222
var wss = new ws.WebSocketServer({ port: port });
2323
console.log('WebSocket server listening on ws://localhost:' + port + '/');

test/websocket/test_websocket_send.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ int main()
6565
EmscriptenWebSocketCreateAttributes attr;
6666
emscripten_websocket_init_create_attributes(&attr);
6767

68-
const char *url = "ws://localhost:8088/";
68+
const char *url = "ws://localhost:8089/";
6969
attr.url = url;
7070
attr.protocols = "binary,base64"; // We don't really use a special protocol on the server backend in this test, but check that it can be passed.
7171

0 commit comments

Comments
 (0)