File tree Expand file tree Collapse file tree
handwritten/storage/system-test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3078,9 +3078,8 @@ describe('storage', function () {
30783078
30793079 const delay = async ( test : Mocha . Context , accessId : string ) => {
30803080 const retries = test . currentRetry ( ) ;
3081- if ( retries === 0 ) return ; // no retry on the first failure.
30823081 // see: https://cloud.google.com/storage/docs/exponential-backoff:
3083- const ms = Math . pow ( 2 , retries ) * 500 + Math . random ( ) * 1000 ;
3082+ const ms = Math . pow ( 2 , retries ) * 1000 + Math . random ( ) * 1000 ;
30843083 return new Promise ( done => {
30853084 console . info (
30863085 `retrying "${ test . title } " with accessId ${ accessId } in ${ ms } ms`
@@ -3114,7 +3113,6 @@ describe('storage', function () {
31143113 } ) ;
31153114
31163115 it ( 'should get metadata for an HMAC key' , async function ( ) {
3117- this . retries ( 3 ) ;
31183116 delay ( this , accessId ) ;
31193117 const hmacKey = storage . hmacKey ( accessId , { projectId : HMAC_PROJECT } ) ;
31203118 const [ metadata ] = await hmacKey . getMetadata ( ) ;
You can’t perform that action at this time.
0 commit comments