@@ -448,7 +448,7 @@ async def test_table_permissions(self, project_model: Project) -> None:
448
448
access_type = ["READ" , "DOWNLOAD" ],
449
449
)
450
450
451
- await asyncio .sleep (2 )
451
+ await asyncio .sleep (10 )
452
452
453
453
# THEN listing permissions should show all set permissions
454
454
# Check team permissions
@@ -481,7 +481,7 @@ async def test_table_permissions(self, project_model: Project) -> None:
481
481
# WHEN deleting specific permissions for the team
482
482
await table .set_permissions_async (principal_id = team .id , access_type = [])
483
483
484
- await asyncio .sleep (2 )
484
+ await asyncio .sleep (10 )
485
485
486
486
# THEN team should no longer have permissions
487
487
team_acl_after_delete = await table .get_acl_async (principal_id = team .id )
@@ -533,7 +533,7 @@ async def test_entity_view_permissions(self, project_model: Project) -> None:
533
533
access_type = limited_user_permissions ,
534
534
)
535
535
536
- await asyncio .sleep (2 )
536
+ await asyncio .sleep (10 )
537
537
538
538
# THEN listing permissions should reflect all changes
539
539
# Verify team permissions
@@ -561,7 +561,7 @@ async def test_entity_view_permissions(self, project_model: Project) -> None:
561
561
principal_id = AUTHENTICATED_USERS , access_type = []
562
562
)
563
563
564
- await asyncio .sleep (2 )
564
+ await asyncio .sleep (10 )
565
565
566
566
# THEN authenticated users should lose permissions
567
567
auth_acl_after = await entity_view .get_acl_async (
@@ -621,7 +621,7 @@ async def test_submission_view_permissions(self, project_model: Project) -> None
621
621
access_type = user_direct_permissions ,
622
622
)
623
623
624
- await asyncio .sleep (2 )
624
+ await asyncio .sleep (10 )
625
625
626
626
# THEN listing permissions should show proper aggregation
627
627
# Check individual team permissions
@@ -940,6 +940,7 @@ async def _verify_permissions_deleted(
940
940
self , entity : Union [File , Folder , Project ]
941
941
) -> None :
942
942
"""Helper to verify that permissions have been deleted (entity inherits from parent)."""
943
+ await asyncio .sleep (10 )
943
944
944
945
acl = await entity .get_acl_async (
945
946
principal_id = AUTHENTICATED_USERS , check_benefactor = False
@@ -969,7 +970,7 @@ async def _verify_list_acl_functionality(
969
970
log_tree : bool = True ,
970
971
) -> AclListResult :
971
972
"""Helper to verify list_acl_async functionality and return results."""
972
- await asyncio .sleep (2 )
973
+ await asyncio .sleep (10 )
973
974
acl_result = await entity .list_acl_async (
974
975
recursive = recursive ,
975
976
include_container_content = include_container_content ,
@@ -1331,7 +1332,7 @@ async def test_delete_permissions_on_new_project(
1331
1332
1332
1333
# AND custom permissions are set for authenticated users
1333
1334
await self ._set_custom_permissions (project )
1334
- await asyncio .sleep (2 )
1335
+ await asyncio .sleep (10 )
1335
1336
1336
1337
# WHEN I delete permissions on the project
1337
1338
await project .delete_permissions_async ()
@@ -1363,7 +1364,7 @@ async def test_delete_permissions_simple_tree_structure(
1363
1364
self ._set_custom_permissions (folder_a ),
1364
1365
self ._set_custom_permissions (file_1 ),
1365
1366
)
1366
- await asyncio .sleep (2 )
1367
+ await asyncio .sleep (10 )
1367
1368
1368
1369
# WHEN - Verify list_acl_async before deletion
1369
1370
await self ._verify_list_acl_functionality (
@@ -1403,7 +1404,7 @@ async def test_delete_permissions_deep_nested_structure(
1403
1404
await asyncio .gather (
1404
1405
* [self ._set_custom_permissions (entity ) for entity in structure .values ()]
1405
1406
)
1406
- await asyncio .sleep (2 )
1407
+ await asyncio .sleep (10 )
1407
1408
1408
1409
# WHEN - Verify list_acl_async before deletion
1409
1410
await self ._verify_list_acl_functionality (
@@ -1446,7 +1447,7 @@ async def test_delete_permissions_wide_tree_structure(
1446
1447
await asyncio .gather (
1447
1448
* [self ._set_custom_permissions (entity ) for entity in entities_to_set ]
1448
1449
)
1449
- await asyncio .sleep (2 )
1450
+ await asyncio .sleep (10 )
1450
1451
1451
1452
# WHEN - Verify list_acl_async before deletion
1452
1453
await self ._verify_list_acl_functionality (
@@ -1500,7 +1501,7 @@ async def test_delete_permissions_complex_mixed_structure(
1500
1501
await asyncio .gather (
1501
1502
* [self ._set_custom_permissions (entity ) for entity in entities_to_set ]
1502
1503
)
1503
- await asyncio .sleep (2 )
1504
+ await asyncio .sleep (10 )
1504
1505
1505
1506
# WHEN - Verify list_acl_functionality before deletion
1506
1507
await self ._verify_list_acl_functionality (
@@ -1539,7 +1540,7 @@ async def test_delete_permissions_empty_folder(
1539
1540
)
1540
1541
self .schedule_for_cleanup (empty_folder .id )
1541
1542
await self ._set_custom_permissions (empty_folder )
1542
- await asyncio .sleep (2 )
1543
+ await asyncio .sleep (10 )
1543
1544
1544
1545
# WHEN - Verify list_acl_async before deletion (empty folder)
1545
1546
await self ._verify_list_acl_functionality (
@@ -1585,7 +1586,7 @@ async def test_delete_permissions_folder_with_only_files(
1585
1586
self ._set_custom_permissions (folder ),
1586
1587
self ._set_custom_permissions (file ),
1587
1588
)
1588
- await asyncio .sleep (2 )
1589
+ await asyncio .sleep (10 )
1589
1590
1590
1591
# WHEN - Verify list_acl_async before deletion
1591
1592
await self ._verify_list_acl_functionality (
@@ -1642,7 +1643,7 @@ async def test_delete_permissions_folder_with_only_folders(
1642
1643
await asyncio .gather (
1643
1644
* [self ._set_custom_permissions (entity ) for entity in entities_to_set ]
1644
1645
)
1645
- await asyncio .sleep (2 )
1646
+ await asyncio .sleep (10 )
1646
1647
1647
1648
# WHEN - Verify list_acl_async before deletion
1648
1649
await self ._verify_list_acl_functionality (
@@ -1685,7 +1686,7 @@ async def test_delete_permissions_target_files_only_complex(
1685
1686
self ._set_custom_permissions (structure ["sub_deep" ]),
1686
1687
* [self ._set_custom_permissions (file ) for file in structure ["deep_files" ]],
1687
1688
)
1688
- await asyncio .sleep (2 )
1689
+ await asyncio .sleep (10 )
1689
1690
1690
1691
# WHEN - Verify list_acl_async with target_entity_types for files only
1691
1692
await self ._verify_list_acl_functionality (
@@ -1738,7 +1739,7 @@ async def test_delete_permissions_include_container_only_deep_structure(
1738
1739
await asyncio .gather (
1739
1740
* [self ._set_custom_permissions (entity ) for entity in structure .values ()]
1740
1741
)
1741
- await asyncio .sleep (2 )
1742
+ await asyncio .sleep (10 )
1742
1743
1743
1744
# WHEN - Verify list_acl_async with include_container_content=True
1744
1745
await self ._verify_list_acl_functionality (
@@ -1794,7 +1795,7 @@ async def test_delete_permissions_skip_self_complex_structure(
1794
1795
],
1795
1796
* [self ._set_custom_permissions (file ) for file in structure ["mixed_files" ]],
1796
1797
)
1797
- await asyncio .sleep (2 )
1798
+ await asyncio .sleep (10 )
1798
1799
1799
1800
# WHEN - Verify list_acl_async before deletion (should show all entities)
1800
1801
await self ._verify_list_acl_functionality (
@@ -1848,7 +1849,7 @@ async def test_delete_permissions_dry_run_no_changes(
1848
1849
self ._set_custom_permissions (folder_a ),
1849
1850
self ._set_custom_permissions (file_1 ),
1850
1851
)
1851
- await asyncio .sleep (2 )
1852
+ await asyncio .sleep (10 )
1852
1853
1853
1854
# WHEN - Verify list_acl_async before dry run
1854
1855
initial_acl_result = await self ._verify_list_acl_functionality (
@@ -1914,7 +1915,7 @@ async def test_delete_permissions_dry_run_complex_logging(
1914
1915
self ._set_custom_permissions (structure ["sub_deep" ]),
1915
1916
self ._set_custom_permissions (structure ["deep_files" ][0 ]),
1916
1917
)
1917
- await asyncio .sleep (2 )
1918
+ await asyncio .sleep (10 )
1918
1919
1919
1920
# WHEN - Verify list_acl_async with detailed logging before dry run
1920
1921
await self ._verify_list_acl_functionality (
@@ -1988,7 +1989,7 @@ async def test_delete_permissions_large_flat_structure(
1988
1989
await asyncio .gather (
1989
1990
* [self ._set_custom_permissions (entity ) for entity in entities_to_set ]
1990
1991
)
1991
- await asyncio .sleep (2 )
1992
+ await asyncio .sleep (10 )
1992
1993
1993
1994
# WHEN - Verify list_acl_async performance with large structure
1994
1995
await self ._verify_list_acl_functionality (
@@ -2080,7 +2081,7 @@ async def test_delete_permissions_multiple_nested_branches(
2080
2081
await asyncio .gather (
2081
2082
* [self ._set_custom_permissions (entity ) for entity in all_entities ]
2082
2083
)
2083
- await asyncio .sleep (2 )
2084
+ await asyncio .sleep (10 )
2084
2085
2085
2086
# WHEN - Verify list_acl_async before deletion (complex multiple branches)
2086
2087
await self ._verify_list_acl_functionality (
@@ -2150,7 +2151,7 @@ async def test_delete_permissions_selective_branches(
2150
2151
self ._set_custom_permissions (file_a ),
2151
2152
self ._set_custom_permissions (file_b ),
2152
2153
)
2153
- await asyncio .sleep (2 )
2154
+ await asyncio .sleep (10 )
2154
2155
2155
2156
# WHEN - Verify list_acl_async before selective deletion
2156
2157
await self ._verify_list_acl_functionality (
@@ -2200,7 +2201,7 @@ async def test_delete_permissions_mixed_entity_types_in_structure(
2200
2201
self ._set_custom_permissions (structure ["deep_files" ][1 ]),
2201
2202
self ._set_custom_permissions (structure ["mixed_sub_folders" ][0 ]),
2202
2203
)
2203
- await asyncio .sleep (2 )
2204
+ await asyncio .sleep (10 )
2204
2205
2205
2206
# WHEN - Verify list_acl_async with mixed entity types
2206
2207
await self ._verify_list_acl_functionality (
@@ -2254,7 +2255,7 @@ async def test_delete_permissions_no_container_content_but_has_children(
2254
2255
self ._set_custom_permissions (parent_folder ),
2255
2256
self ._set_custom_permissions (child_file ),
2256
2257
)
2257
- await asyncio .sleep (2 )
2258
+ await asyncio .sleep (10 )
2258
2259
2259
2260
# WHEN - Verify list_acl_async before testing container content exclusion
2260
2261
await self ._verify_list_acl_functionality (
@@ -2297,7 +2298,7 @@ async def test_delete_permissions_case_insensitive_entity_types(
2297
2298
self ._set_custom_permissions (folder_a ),
2298
2299
self ._set_custom_permissions (file_1 ),
2299
2300
)
2300
- await asyncio .sleep (2 )
2301
+ await asyncio .sleep (10 )
2301
2302
2302
2303
# WHEN - Verify list_acl_async with case-insensitive entity types
2303
2304
await self ._verify_list_acl_functionality (
0 commit comments