Skip to content

Commit 9e7515d

Browse files
remove container-sleep-noop-app unnecessary files
1 parent 851f559 commit 9e7515d

File tree

6 files changed

+7
-55
lines changed

6 files changed

+7
-55
lines changed

fixtures/interactive-dev-tests/container-sleep-noop-app/src/index.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

fixtures/interactive-dev-tests/container-sleep-noop-app/src/tsconfig.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

fixtures/interactive-dev-tests/container-sleep-noop-app/src/worker-configuration.d.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

fixtures/interactive-dev-tests/container-sleep-noop-app/wrangler.jsonc

Lines changed: 0 additions & 27 deletions
This file was deleted.

fixtures/interactive-dev-tests/tests/index.test.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,12 +444,18 @@ baseDescribe.skipIf(process.platform !== "linux" && process.env.CI === "true")(
444444
beforeAll(async () => {
445445
tmpDir = fs.mkdtempSync(path.join(tmpdir(), "wrangler-container-sleep-"));
446446
fs.cpSync(
447-
path.resolve(__dirname, "../", "container-sleep-noop-app"),
447+
path.resolve(__dirname, "../", "container-app"),
448448
path.join(tmpDir),
449449
{
450450
recursive: true,
451451
}
452452
);
453+
const tmpDockerFilePath = path.join(tmpDir, "Dockerfile");
454+
fs.rmSync(tmpDockerFilePath);
455+
fs.renameSync(
456+
path.join(tmpDir, "DockerfileWithLongSleep"),
457+
tmpDockerFilePath
458+
);
453459

454460
const ids = getContainerIds();
455461
if (ids.length > 0) {

0 commit comments

Comments
 (0)