Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6c498255e9 |
@@ -16,7 +16,9 @@ async function availablePort() {
|
|||||||
const port = process.env.SMOKE_PORT || await availablePort();
|
const port = process.env.SMOKE_PORT || await availablePort();
|
||||||
const release = "smoke-test";
|
const release = "smoke-test";
|
||||||
const child = spawn(process.execPath, [".next/standalone/server.js"], {
|
const child = spawn(process.execPath, [".next/standalone/server.js"], {
|
||||||
env: { ...process.env, PORT: port, HOSTNAME: "127.0.0.1", RELEASE_SHA: release },
|
// This loopback-only child checks retained resources without production credentials.
|
||||||
|
// Production keeps failing closed; the bypass requires both explicit test settings.
|
||||||
|
env: { ...process.env, AUTH_CONFIG_FILE: "", AUTH_DISABLED_FOR_TESTS: "true", PORT: port, HOSTNAME: "127.0.0.1", RELEASE_SHA: release },
|
||||||
stdio: "inherit",
|
stdio: "inherit",
|
||||||
});
|
});
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user