File tree 2 files changed +4
-4
lines changed
packages/google-cloud-asset/samples
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 12
12
"repository" : " googleapis/nodejs-asset" ,
13
13
"private" : true ,
14
14
"scripts" : {
15
- "test" : " mocha --timeout 180000 "
15
+ "test" : " mocha --timeout 360000 "
16
16
},
17
17
"dependencies" : {
18
18
"@google-cloud/asset" : " ^3.19.0" ,
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ describe('quickstart sample tests', () => {
64
64
it ( 'should export assets to specified path' , async ( ) => {
65
65
const dumpFilePath = `gs://${ bucketName } /my-assets-${ fileSuffix } .txt` ;
66
66
execSync ( `node exportAssets ${ dumpFilePath } ` ) ;
67
- let waitMs = 1000 ;
67
+ let waitMs = 4000 ;
68
68
let exists = false ;
69
69
let file ;
70
70
for ( let retry = 0 ; retry < 3 && ! exists ; ++ retry ) {
@@ -80,7 +80,7 @@ describe('quickstart sample tests', () => {
80
80
const dumpFilePath = `gs://${ bucketName } /my-relationships-${ fileSuffix } .txt` ;
81
81
const contentType = 'RELATIONSHIP' ;
82
82
execSync ( `node exportAssets ${ dumpFilePath } ${ contentType } ` ) ;
83
- let waitMs = 1000 ;
83
+ let waitMs = 4000 ;
84
84
let exists = false ;
85
85
let file ;
86
86
for ( let retry = 0 ; retry < 3 && ! exists ; ++ retry ) {
@@ -162,7 +162,7 @@ describe('quickstart sample tests', () => {
162
162
execSync (
163
163
`node analyzeIamPolicyLongrunningBigquery ${ datasetId } ${ tablePrefix } `
164
164
) ;
165
- let waitMs = 1000 ;
165
+ let waitMs = 4000 ;
166
166
let metadataTable ;
167
167
let metadataTable_exists = false ;
168
168
let resultsTable ;
You can’t perform that action at this time.
0 commit comments