Skip to content

Commit

Permalink
test: retry flaky test (#5343)
Browse files Browse the repository at this point in the history
  • Loading branch information
shumailxyz authored Nov 2, 2023
1 parent 71d45a9 commit fd9c93d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/test/unit/src/commands/self-update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,10 @@ describe("SelfUpdateCommand", () => {
expect(scope.isDone()).to.be.true
})

it(`handles --platform=windows and zip archives correctly`, async () => {
it(`handles --platform=windows and zip archives correctly`, async function () {
// retry because of flaky test
// eslint-disable-next-line no-invalid-this
this.retries(3)
const scope = nock("https://get.garden.io")
scope.get("/releases/latest").reply(200, { tag_name: "edge" })

Expand Down

0 comments on commit fd9c93d

Please sign in to comment.