Skip to content

Commit

Permalink
build: increase retries for #33 (#61)
Browse files Browse the repository at this point in the history
* build: increase retries and timeout for flaky tests
  • Loading branch information
sofisl authored and pattishin committed Nov 22, 2022
1 parent d6c24b6 commit ab60269
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ const endpointId = '71213169107795968';
const project = process.env.CAIP_PROJECT_ID;
const location = 'us-central1';

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

0 comments on commit ab60269

Please sign in to comment.