Skip to content

Commit 2b78dc0

Browse files
author
Guiners
committed
sample update
1 parent 5301d85 commit 2b78dc0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

genai/test/imggen-mmflash-with-txt.test.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,17 @@ const {assert} = require('chai');
1818
const {describe, it} = require('mocha');
1919

2020
const projectId = process.env.CAIP_PROJECT_ID;
21+
const location = 'global'
22+
2123
const sample = require('../image-generation/imggen-mmflash-with-txt.js');
2224
const {delay} = require('./util');
2325

2426
describe('imggen-mmflash-with-txt', async () => {
2527
it('should generate images from a text prompt', async function () {
2628
this.timeout(180000);
27-
this.retries(15);
29+
this.retries(5);
2830
await delay(this.test);
29-
const generatedFileNames = await sample.generateContent(projectId);
31+
const generatedFileNames = await sample.generateContent(projectId, location);
3032
assert(generatedFileNames.length > 0);
3133
});
3234
});

0 commit comments

Comments
 (0)