Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Couchbase tests failing #981

Open
marklysze opened this issue Feb 15, 2025 · 0 comments
Open

[Bug]: Couchbase tests failing #981

marklysze opened this issue Feb 15, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@marklysze
Copy link
Collaborator

Describe the bug

Two problems.

  1. Couchbase tests for retrieval in test_couchbase.py are failing. It is not retrieving any results for the query. Have commented them out but it needs to be investigated.
    # test_retrieve_docs
    """ FAILING - NO RESULTS ARE RETRIEVED, CAN SEE IN COUCHBASE UI THAT THEY EXIST - INVESTIGATE
    queries = ["doc2", "doc3"]
    res = db.retrieve_docs(queries, collection_name)
    texts = [[item[0]["content"] for item in sublist] for sublist in res]
    received_ids = [[item[0]["id"] for item in sublist] for sublist in res]

    assert texts[0] == ["doc2", "doc3"]
    assert received_ids[0] == ["2", "3"]
    """
  1. "Tests with optional dependencies" workflow test is failing if "retrieve-couchbase" optional dependency is included. It may be because the environment for Couchbase is not set up correctly (See contrib-test.yml for the setup of Couchbase).

PR #979 has temporarily disabled these two issues to allow other PRs to merge.

Steps to reproduce

No response

Model Used

No response

Expected Behavior

No response

Screenshots and logs

No response

Additional Information

No response

@marklysze marklysze added the bug Something isn't working label Feb 15, 2025
@davorrunje davorrunje self-assigned this Feb 16, 2025
@davorrunje davorrunje added this to ag2 Feb 16, 2025
@davorrunje davorrunje moved this to In Progress in ag2 Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Progress
Development

No branches or pull requests

2 participants