File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,17 @@ const {assert} = require('chai');
1818const { describe, it} = require ( 'mocha' ) ;
1919
2020const projectId = process . env . CAIP_PROJECT_ID ;
21+ const location = 'global'
22+
2123const sample = require ( '../image-generation/imggen-mmflash-with-txt.js' ) ;
2224const { delay} = require ( './util' ) ;
2325
2426describe ( '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} ) ;
You can’t perform that action at this time.
0 commit comments