File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/core/test/lib/transports Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ describe('makeOfflineTransport', () => {
282282 const { getSendCount, baseTransport } = createTestTransport (
283283 {
284284 statusCode : 429 ,
285- headers : { 'x-sentry-rate-limits' : '' , 'retry-after' : '3 ' } ,
285+ headers : { 'x-sentry-rate-limits' : '' , 'retry-after' : '1 ' } ,
286286 } ,
287287 { statusCode : 200 } ,
288288 ) ;
@@ -300,14 +300,14 @@ describe('makeOfflineTransport', () => {
300300
301301 expect ( result ) . toEqual ( {
302302 statusCode : 429 ,
303- headers : { 'x-sentry-rate-limits' : '' , 'retry-after' : '3 ' } ,
303+ headers : { 'x-sentry-rate-limits' : '' , 'retry-after' : '1 ' } ,
304304 } ) ;
305305
306306 await delay ( MIN_DELAY * 2 ) ;
307307
308308 expect ( getSendCount ( ) ) . toEqual ( 1 ) ;
309309
310- await delay ( 4_000 ) ;
310+ await delay ( 3_000 ) ;
311311
312312 expect ( getSendCount ( ) ) . toEqual ( 2 ) ;
313313 expect ( queuedCount ) . toEqual ( 0 ) ;
You can’t perform that action at this time.
0 commit comments