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', () => {
282
282
const { getSendCount, baseTransport } = createTestTransport (
283
283
{
284
284
statusCode : 429 ,
285
- headers : { 'x-sentry-rate-limits' : '' , 'retry-after' : '3 ' } ,
285
+ headers : { 'x-sentry-rate-limits' : '' , 'retry-after' : '1 ' } ,
286
286
} ,
287
287
{ statusCode : 200 } ,
288
288
) ;
@@ -300,14 +300,14 @@ describe('makeOfflineTransport', () => {
300
300
301
301
expect ( result ) . toEqual ( {
302
302
statusCode : 429 ,
303
- headers : { 'x-sentry-rate-limits' : '' , 'retry-after' : '3 ' } ,
303
+ headers : { 'x-sentry-rate-limits' : '' , 'retry-after' : '1 ' } ,
304
304
} ) ;
305
305
306
306
await delay ( MIN_DELAY * 2 ) ;
307
307
308
308
expect ( getSendCount ( ) ) . toEqual ( 1 ) ;
309
309
310
- await delay ( 4_000 ) ;
310
+ await delay ( 3_000 ) ;
311
311
312
312
expect ( getSendCount ( ) ) . toEqual ( 2 ) ;
313
313
expect ( queuedCount ) . toEqual ( 0 ) ;
You can’t perform that action at this time.
0 commit comments