Skip to content

Commit

Permalink
fix: added retries to flaky test (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
nayaknishant authored May 10, 2022
1 parent f37ce35 commit e12bdb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ai-platform/snippets/test/create-custom-job.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ function parseResponse(stdout) {

let customJobId;

describe('AI platform create custom job', () => {
describe('AI platform create custom job', async function () {
this.retries(2);
it('should create a new custom job', async () => {
const stdout = execSync(
`node ./create-custom-job.js ${customJobDisplayName} \
Expand Down

0 comments on commit e12bdb3

Please sign in to comment.