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 Jan 20, 2021
1 parent 31d2992 commit a26c64d
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 a26c64d

Please sign in to comment.