Skip to content

Commit e12bdb3

Browse files
authored
fix: added retries to flaky test (#299)
1 parent f37ce35 commit e12bdb3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ai-platform/snippets/test/create-custom-job.test.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ function parseResponse(stdout) {
4343

4444
let customJobId;
4545

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

0 commit comments

Comments
 (0)