Skip to content

Commit bf657cf

Browse files
author
Guiners
committed
textgen-with-pdf test fix
1 parent 8032cf3 commit bf657cf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

genai/test/textgen-with-pdf.test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ const {describe, it} = require('mocha');
1919

2020
const projectId = process.env.CAIP_PROJECT_ID;
2121
const sample = require('../text-generation/textgen-with-pdf.js');
22+
const {delay} = require('./util');
2223

2324
describe('textgen-with-pdf', async () => {
2425
it('should generate text content from pdf', async function () {
25-
this.timeout(30000);
26+
this.timeout(180000);
27+
this.retries(5);
28+
await delay(this.test);
2629
const output = await sample.generateText(projectId);
2730
assert(output.length > 0);
2831
});

0 commit comments

Comments
 (0)