Skip to content

Commit a26c64d

Browse files
authored
build: increase retries for #33 (#61)
* build: increase retries and timeout for flaky tests
1 parent 31d2992 commit a26c64d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ai-platform/snippets/test/predict-image-classification.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ const endpointId = '71213169107795968';
3131
const project = process.env.CAIP_PROJECT_ID;
3232
const location = 'us-central1';
3333

34-
describe('AI platform predict image classification', () => {
34+
describe('AI platform predict image classification', async function () {
35+
this.retries(2);
3536
it('should make predictions using the image classification model', async () => {
3637
const stdout = execSync(
3738
`node ./predict-image-classification.js ${local_file} ${endpointId} ${project} ${location}`

0 commit comments

Comments
 (0)