test(web-e2e): never reuse another backend as the storage E2E backend

server-storage.e2e.ts deletes every playlist before each test. Reusing a
backend already listening on STORAGE_BACKEND_PORT outside CI could have
wiped a real library; an occupied port now fails the run instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
4grayandClaude Opus 5.5 committed 2026-10-14 14:20:18 +02:00
1 parent e286a62b2e
commit ee7c13ce82
1 file changed
+3 -1
+3 -1
View File
@@ -129,7 +129,9 @@ export default defineConfig({
IPTVNATOR_DATA_DIR: storageBackendDataDir,
},
url: `http://localhost:${storageBackendPort}/health`,
reuseExistingServer: !process.env['CI'],
// Never another backend on that port: the specs delete every
// playlist before each test, which would wipe its library.
reuseExistingServer: false,
cwd: workspaceRoot,
},
],