summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-19 23:28:22 -0300
committerGabriel Schneider <[email protected]>2026-09-19 23:28:22 -0300
commitba996acfcad1698adbf4a1834fe50e73b1c6cab9 (patch)
tree282ba00ce5b10d7416aecb9f2f0f0a439340a57d /test
parentb05abcba3ea09ea106ad28364c6e40a3ec31b890 (diff)
downloadcloud9-ba996acfcad1698adbf4a1834fe50e73b1c6cab9.tar.gz
cloud9-ba996acfcad1698adbf4a1834fe50e73b1c6cab9.zip
Rename programs: 9player -> 9ns, introspect -> 9proc, app -> web (9web)
Directories, binaries, build options (-D9ns, -D9proc), step names, module name (9proc), thread and fs names, env var NINEPLAYER_MOUNT -> NINE_MOUNT, docs and test scripts. Browser assets move to web/static. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'test')
-rw-r--r--test/web/e2e.mjs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web/e2e.mjs b/test/web/e2e.mjs
index 2ff83ae..ad10295 100644
--- a/test/web/e2e.mjs
+++ b/test/web/e2e.mjs
@@ -41,7 +41,7 @@ async function launchBridge(upstream, origin, extra = []) {
const child = start(bridgeBinary, ['--listen', '127.0.0.1:0', '--upstream', upstream, ...(origin ? ['--origin', origin] : []), ...extra]);
// With a public origin the log does not include the bound address. Tests
// requiring a proxy instead reserve a port and pass it explicitly below.
- const match = await wait(() => child.errors.match(/cloud9-http (http:\/\/127\.0\.0\.1:\d+)/), 'bridge ready');
+ const match = await wait(() => child.errors.match(/9web (http:\/\/127\.0\.0\.1:\d+)/), 'bridge ready');
return { child, url: match[1] };
}
async function port() { const s = net.createServer(); s.listen(0, '127.0.0.1'); await once(s, 'listening'); const p = s.address().port; await new Promise(r => s.close(r)); return p; }
@@ -213,7 +213,7 @@ try {
const httpsPort = await port(), backendPort = await port();
const origin = `https://localhost:${httpsPort}`;
const secureBridge = start(bridgeBinary, ['--listen', `127.0.0.1:${backendPort}`, '--upstream', `tcp:${upstream}`, '--origin', origin]);
- await wait(() => secureBridge.errors.includes('cloud9-http'), 'TLS backend ready');
+ await wait(() => secureBridge.errors.includes('9web'), 'TLS backend ready');
tlsServer = tls.createServer({ key: await fs.readFile(key), cert: await fs.readFile(cert), ALPNProtocols: ['http/1.1'] }, socket => {
const upstreamSocket = net.connect(backendPort, '127.0.0.1');
sockets.add(socket); sockets.add(upstreamSocket);