Skip to content

Commit 230155b

Browse files
author
Guiners
committed
hardcoded values fix
1 parent 405ee26 commit 230155b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

genai/test/thinking-with-txt.test.js

Lines changed: 3 additions & 0 deletions
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('../thinking/thinking-with-txt.js');
22+
const {delay} = require('./util');
2223

2324
describe('thinking-with-txt', () => {
2425
it('should return Thought Process', async function () {
2526
this.timeout(50000);
27+
this.retries(4);
28+
await delay(this.test);
2629
const output = await sample.generateWithThoughts(projectId);
2730
assert(output.length > 0);
2831
});

0 commit comments

Comments
 (0)