diff --git a/backend/tests/integration/tests/permissions/test_doc_set_permissions.py b/backend/tests/integration/tests/permissions/test_doc_set_permissions.py index a2601bf4e46..412b5d41fad 100644 --- a/backend/tests/integration/tests/permissions/test_doc_set_permissions.py +++ b/backend/tests/integration/tests/permissions/test_doc_set_permissions.py @@ -122,6 +122,10 @@ def test_doc_set_permissions_setup(reset: None) -> None: user_performing_action=curator, ) + DocumentSetManager.wait_for_sync( + document_sets_to_check=[valid_doc_set], user_performing_action=admin_user + ) + # Verify that the valid document set was created DocumentSetManager.verify( document_set=valid_doc_set,