Skip to content

Commit 5801dd0

Browse files
kweinmeisterAce Nassri
authored and
Ace Nassri
committed
test: Add retries to additional function in AutoML Tables Predict test (#564)
* Added retries to automlTablesPredict sample test * Convert arrow functions * Add retries to another function in predict test
1 parent 188bced commit 5801dd0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

automl/test/automlTablesPredict.v1beta1.test.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ const bqOutputUriPrefix = `bq://${projectId}`;
3333
const exec = cmd => execSync(cmd, {encoding: 'utf8'});
3434

3535
describe('Tables PredictionAPI', () => {
36-
it('should perform single prediction', async () => {
36+
it('should perform single prediction', async function () {
37+
this.retries(5);
38+
await delay(this.test);
39+
3740
const inputs = [
3841
{numberValue: 39}, // Age
3942
{stringValue: 'technician'}, // Job

0 commit comments

Comments
 (0)