mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-29 17:19:36 +02:00
added wait for sync after creating document set in tests (#2319)
This commit is contained in:
parent
f96bd12ab8
commit
ebce3ff6ba
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user