Skip to content

Commit

Permalink
fix: test flakeyness (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
perrin4869 committed Oct 24, 2023
1 parent f75074b commit f8873e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .mocharc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"reporter": "spec",
"ui": "bdd",
"extension": ["js", "ts"],
"timeout": 5000,
"loader": "ts-node/esm",
"require": ["./test/setup.js"]
}
2 changes: 1 addition & 1 deletion test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe("serverless-loggroup-deletion-policy", () => {
"setting DeletionPolicy: Retain on /aws/lambda/retain-dev-hello",
]);
expect(resources.HelloLogGroup.DeletionPolicy).to.equal("Retain");
});
}).timeout(10_000); // the first call to `runServerless` is very expensive for some reason?

it("adds a `DeletionPolicy: Delete` to Log Group", async () => {
const cwd = new URL("fixtures/delete", import.meta.url).pathname;
Expand Down

0 comments on commit f8873e1

Please sign in to comment.