Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 67fef29

Browse files
committed
increase test timeout
1 parent aced754 commit 67fef29

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

github-upload-public-key/main.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@ describe("github-upload-public-key", async () => {
2424
let exec = await execContainer(id, ["bash", "-c", instance.script]);
2525
expect(exec.stdout).toContain("Coder public SSH key uploaded to GitHub!");
2626
expect(exec.exitCode).toBe(0);
27-
});
27+
// we need to increase timeout to pull the container
28+
}, 10000);
2829

2930
it("does nothing if one already exists", async () => {
3031
const { instance, id } = await setupContainer();
32+
// use keyword to make server return a existing key
3133
await writeCoder(id, "echo findkey");
3234
let exec = await execContainer(id, ["bash", "-c", instance.script]);
3335
expect(exec.stdout).toContain(

0 commit comments

Comments
 (0)