Skip to content

Commit

Permalink
added wait for sync after creating document set in tests (#2319)
Browse files Browse the repository at this point in the history
  • Loading branch information
hagen-danswer authored Sep 4, 2024
1 parent f96bd12 commit ebce3ff
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ebce3ff

Please sign in to comment.