Skip to content

Commit

Permalink
now we are fixing it
Browse files Browse the repository at this point in the history
  • Loading branch information
rkuo-danswer committed Nov 20, 2024
1 parent 8ef8a53 commit dfa1227
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ def test_connector_creation(reset: None) -> None:

def test_overlapping_connector_creation(reset: None) -> None:
"""Tests that connectors indexing the same documents don't interfere with each other.
Previous errors included document by cc pair entries not being added for new connectors
A previous bug involved document by cc pair entries not being added for new connectors
when the docs existed already via another connector and were up to date relative to the source.
"""
admin_user: DATestUser = UserManager.create(name="admin_user")

config = {
"wiki_base": os.environ["CONFLUENCE_TEST_SPACE_URL"],
"space": "DailyConne",
"is_cloud": True,
"page_id": "",
}
Expand All @@ -58,7 +59,7 @@ def test_overlapping_connector_creation(reset: None) -> None:
)

CCPairManager.wait_for_indexing(
cc_pair_1, now, timeout=180, user_performing_action=admin_user
cc_pair_1, now, timeout=120, user_performing_action=admin_user
)

now = datetime.now(timezone.utc)
Expand All @@ -71,7 +72,7 @@ def test_overlapping_connector_creation(reset: None) -> None:
)

CCPairManager.wait_for_indexing(
cc_pair_2, now, timeout=180, user_performing_action=admin_user
cc_pair_2, now, timeout=120, user_performing_action=admin_user
)

info_1 = CCPairManager.get_single(cc_pair_1.id, user_performing_action=admin_user)
Expand Down

0 comments on commit dfa1227

Please sign in to comment.