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 and pattishin committed Nov 22, 2022
1 parent 4dc10a9 commit 31f156a
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 31f156a

Please sign in to comment.