File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/sdk/tests/e2e/dataProtectorCore Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ describe('dataProtectorCore.getGrantedAccess()', () => {
313313 expect ( accessBefore ) . toBeDefined ( ) ;
314314 expect ( accessBefore . remainingAccess ) . toBe ( 5 ) ;
315315
316- // Mock the task processing to avoid actual execution
316+ // Mock the task processing to avoid actual execution but simulate consumption
317317 const mockTaskObservable = {
318318 subscribe : ( { complete } ) => {
319319 if ( complete ) {
@@ -376,7 +376,7 @@ describe('dataProtectorCore.getGrantedAccess()', () => {
376376 // Restore mocks
377377 jest . restoreAllMocks ( ) ;
378378 } ,
379- 8 * MAX_EXPECTED_BLOCKTIME + MAX_EXPECTED_WEB2_SERVICES_TIME
379+ 15 * MAX_EXPECTED_BLOCKTIME + 2 * MAX_EXPECTED_WEB2_SERVICES_TIME
380380 ) ;
381381 } ) ;
382382
@@ -476,7 +476,7 @@ describe('dataProtectorCore.getGrantedAccess()', () => {
476476
477477 jest . restoreAllMocks ( ) ;
478478 } ,
479- 7 * MAX_EXPECTED_BLOCKTIME + MAX_EXPECTED_WEB2_SERVICES_TIME
479+ 18 * MAX_EXPECTED_BLOCKTIME + 2 * MAX_EXPECTED_WEB2_SERVICES_TIME
480480 ) ;
481481 } ) ;
482482
@@ -604,7 +604,7 @@ describe('dataProtectorCore.getGrantedAccess()', () => {
604604
605605 jest . restoreAllMocks ( ) ;
606606 } ,
607- 10 * MAX_EXPECTED_BLOCKTIME + MAX_EXPECTED_WEB2_SERVICES_TIME
607+ 25 * MAX_EXPECTED_BLOCKTIME + 3 * MAX_EXPECTED_WEB2_SERVICES_TIME
608608 ) ;
609609 } ) ;
610610 } ) ;
You can’t perform that action at this time.
0 commit comments