@@ -448,7 +448,7 @@ async def test_table_permissions(self, project_model: Project) -> None:
448448 access_type = ["READ" , "DOWNLOAD" ],
449449 )
450450
451- await asyncio .sleep (2 )
451+ await asyncio .sleep (10 )
452452
453453 # THEN listing permissions should show all set permissions
454454 # Check team permissions
@@ -481,7 +481,7 @@ async def test_table_permissions(self, project_model: Project) -> None:
481481 # WHEN deleting specific permissions for the team
482482 await table .set_permissions_async (principal_id = team .id , access_type = [])
483483
484- await asyncio .sleep (2 )
484+ await asyncio .sleep (10 )
485485
486486 # THEN team should no longer have permissions
487487 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:
533533 access_type = limited_user_permissions ,
534534 )
535535
536- await asyncio .sleep (2 )
536+ await asyncio .sleep (10 )
537537
538538 # THEN listing permissions should reflect all changes
539539 # Verify team permissions
@@ -561,7 +561,7 @@ async def test_entity_view_permissions(self, project_model: Project) -> None:
561561 principal_id = AUTHENTICATED_USERS , access_type = []
562562 )
563563
564- await asyncio .sleep (2 )
564+ await asyncio .sleep (10 )
565565
566566 # THEN authenticated users should lose permissions
567567 auth_acl_after = await entity_view .get_acl_async (
@@ -621,7 +621,7 @@ async def test_submission_view_permissions(self, project_model: Project) -> None
621621 access_type = user_direct_permissions ,
622622 )
623623
624- await asyncio .sleep (2 )
624+ await asyncio .sleep (10 )
625625
626626 # THEN listing permissions should show proper aggregation
627627 # Check individual team permissions
@@ -940,6 +940,7 @@ async def _verify_permissions_deleted(
940940 self , entity : Union [File , Folder , Project ]
941941 ) -> None :
942942 """Helper to verify that permissions have been deleted (entity inherits from parent)."""
943+ await asyncio .sleep (10 )
943944
944945 acl = await entity .get_acl_async (
945946 principal_id = AUTHENTICATED_USERS , check_benefactor = False
@@ -969,7 +970,7 @@ async def _verify_list_acl_functionality(
969970 log_tree : bool = True ,
970971 ) -> AclListResult :
971972 """Helper to verify list_acl_async functionality and return results."""
972- await asyncio .sleep (2 )
973+ await asyncio .sleep (10 )
973974 acl_result = await entity .list_acl_async (
974975 recursive = recursive ,
975976 include_container_content = include_container_content ,
@@ -1331,7 +1332,7 @@ async def test_delete_permissions_on_new_project(
13311332
13321333 # AND custom permissions are set for authenticated users
13331334 await self ._set_custom_permissions (project )
1334- await asyncio .sleep (2 )
1335+ await asyncio .sleep (10 )
13351336
13361337 # WHEN I delete permissions on the project
13371338 await project .delete_permissions_async ()
@@ -1363,7 +1364,7 @@ async def test_delete_permissions_simple_tree_structure(
13631364 self ._set_custom_permissions (folder_a ),
13641365 self ._set_custom_permissions (file_1 ),
13651366 )
1366- await asyncio .sleep (2 )
1367+ await asyncio .sleep (10 )
13671368
13681369 # WHEN - Verify list_acl_async before deletion
13691370 await self ._verify_list_acl_functionality (
@@ -1403,7 +1404,7 @@ async def test_delete_permissions_deep_nested_structure(
14031404 await asyncio .gather (
14041405 * [self ._set_custom_permissions (entity ) for entity in structure .values ()]
14051406 )
1406- await asyncio .sleep (2 )
1407+ await asyncio .sleep (10 )
14071408
14081409 # WHEN - Verify list_acl_async before deletion
14091410 await self ._verify_list_acl_functionality (
@@ -1446,7 +1447,7 @@ async def test_delete_permissions_wide_tree_structure(
14461447 await asyncio .gather (
14471448 * [self ._set_custom_permissions (entity ) for entity in entities_to_set ]
14481449 )
1449- await asyncio .sleep (2 )
1450+ await asyncio .sleep (10 )
14501451
14511452 # WHEN - Verify list_acl_async before deletion
14521453 await self ._verify_list_acl_functionality (
@@ -1500,7 +1501,7 @@ async def test_delete_permissions_complex_mixed_structure(
15001501 await asyncio .gather (
15011502 * [self ._set_custom_permissions (entity ) for entity in entities_to_set ]
15021503 )
1503- await asyncio .sleep (2 )
1504+ await asyncio .sleep (10 )
15041505
15051506 # WHEN - Verify list_acl_functionality before deletion
15061507 await self ._verify_list_acl_functionality (
@@ -1539,7 +1540,7 @@ async def test_delete_permissions_empty_folder(
15391540 )
15401541 self .schedule_for_cleanup (empty_folder .id )
15411542 await self ._set_custom_permissions (empty_folder )
1542- await asyncio .sleep (2 )
1543+ await asyncio .sleep (10 )
15431544
15441545 # WHEN - Verify list_acl_async before deletion (empty folder)
15451546 await self ._verify_list_acl_functionality (
@@ -1585,7 +1586,7 @@ async def test_delete_permissions_folder_with_only_files(
15851586 self ._set_custom_permissions (folder ),
15861587 self ._set_custom_permissions (file ),
15871588 )
1588- await asyncio .sleep (2 )
1589+ await asyncio .sleep (10 )
15891590
15901591 # WHEN - Verify list_acl_async before deletion
15911592 await self ._verify_list_acl_functionality (
@@ -1642,7 +1643,7 @@ async def test_delete_permissions_folder_with_only_folders(
16421643 await asyncio .gather (
16431644 * [self ._set_custom_permissions (entity ) for entity in entities_to_set ]
16441645 )
1645- await asyncio .sleep (2 )
1646+ await asyncio .sleep (10 )
16461647
16471648 # WHEN - Verify list_acl_async before deletion
16481649 await self ._verify_list_acl_functionality (
@@ -1685,7 +1686,7 @@ async def test_delete_permissions_target_files_only_complex(
16851686 self ._set_custom_permissions (structure ["sub_deep" ]),
16861687 * [self ._set_custom_permissions (file ) for file in structure ["deep_files" ]],
16871688 )
1688- await asyncio .sleep (2 )
1689+ await asyncio .sleep (10 )
16891690
16901691 # WHEN - Verify list_acl_async with target_entity_types for files only
16911692 await self ._verify_list_acl_functionality (
@@ -1738,7 +1739,7 @@ async def test_delete_permissions_include_container_only_deep_structure(
17381739 await asyncio .gather (
17391740 * [self ._set_custom_permissions (entity ) for entity in structure .values ()]
17401741 )
1741- await asyncio .sleep (2 )
1742+ await asyncio .sleep (10 )
17421743
17431744 # WHEN - Verify list_acl_async with include_container_content=True
17441745 await self ._verify_list_acl_functionality (
@@ -1794,7 +1795,7 @@ async def test_delete_permissions_skip_self_complex_structure(
17941795 ],
17951796 * [self ._set_custom_permissions (file ) for file in structure ["mixed_files" ]],
17961797 )
1797- await asyncio .sleep (2 )
1798+ await asyncio .sleep (10 )
17981799
17991800 # WHEN - Verify list_acl_async before deletion (should show all entities)
18001801 await self ._verify_list_acl_functionality (
@@ -1848,7 +1849,7 @@ async def test_delete_permissions_dry_run_no_changes(
18481849 self ._set_custom_permissions (folder_a ),
18491850 self ._set_custom_permissions (file_1 ),
18501851 )
1851- await asyncio .sleep (2 )
1852+ await asyncio .sleep (10 )
18521853
18531854 # WHEN - Verify list_acl_async before dry run
18541855 initial_acl_result = await self ._verify_list_acl_functionality (
@@ -1914,7 +1915,7 @@ async def test_delete_permissions_dry_run_complex_logging(
19141915 self ._set_custom_permissions (structure ["sub_deep" ]),
19151916 self ._set_custom_permissions (structure ["deep_files" ][0 ]),
19161917 )
1917- await asyncio .sleep (2 )
1918+ await asyncio .sleep (10 )
19181919
19191920 # WHEN - Verify list_acl_async with detailed logging before dry run
19201921 await self ._verify_list_acl_functionality (
@@ -1988,7 +1989,7 @@ async def test_delete_permissions_large_flat_structure(
19881989 await asyncio .gather (
19891990 * [self ._set_custom_permissions (entity ) for entity in entities_to_set ]
19901991 )
1991- await asyncio .sleep (2 )
1992+ await asyncio .sleep (10 )
19921993
19931994 # WHEN - Verify list_acl_async performance with large structure
19941995 await self ._verify_list_acl_functionality (
@@ -2080,7 +2081,7 @@ async def test_delete_permissions_multiple_nested_branches(
20802081 await asyncio .gather (
20812082 * [self ._set_custom_permissions (entity ) for entity in all_entities ]
20822083 )
2083- await asyncio .sleep (2 )
2084+ await asyncio .sleep (10 )
20842085
20852086 # WHEN - Verify list_acl_async before deletion (complex multiple branches)
20862087 await self ._verify_list_acl_functionality (
@@ -2150,7 +2151,7 @@ async def test_delete_permissions_selective_branches(
21502151 self ._set_custom_permissions (file_a ),
21512152 self ._set_custom_permissions (file_b ),
21522153 )
2153- await asyncio .sleep (2 )
2154+ await asyncio .sleep (10 )
21542155
21552156 # WHEN - Verify list_acl_async before selective deletion
21562157 await self ._verify_list_acl_functionality (
@@ -2200,7 +2201,7 @@ async def test_delete_permissions_mixed_entity_types_in_structure(
22002201 self ._set_custom_permissions (structure ["deep_files" ][1 ]),
22012202 self ._set_custom_permissions (structure ["mixed_sub_folders" ][0 ]),
22022203 )
2203- await asyncio .sleep (2 )
2204+ await asyncio .sleep (10 )
22042205
22052206 # WHEN - Verify list_acl_async with mixed entity types
22062207 await self ._verify_list_acl_functionality (
@@ -2254,7 +2255,7 @@ async def test_delete_permissions_no_container_content_but_has_children(
22542255 self ._set_custom_permissions (parent_folder ),
22552256 self ._set_custom_permissions (child_file ),
22562257 )
2257- await asyncio .sleep (2 )
2258+ await asyncio .sleep (10 )
22582259
22592260 # WHEN - Verify list_acl_async before testing container content exclusion
22602261 await self ._verify_list_acl_functionality (
@@ -2297,7 +2298,7 @@ async def test_delete_permissions_case_insensitive_entity_types(
22972298 self ._set_custom_permissions (folder_a ),
22982299 self ._set_custom_permissions (file_1 ),
22992300 )
2300- await asyncio .sleep (2 )
2301+ await asyncio .sleep (10 )
23012302
23022303 # WHEN - Verify list_acl_async with case-insensitive entity types
23032304 await self ._verify_list_acl_functionality (
0 commit comments