Skip to content

Commit

Permalink
include suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
ThejasNU committed Nov 14, 2024
1 parent b16e585 commit a5aa679
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions libs/agentc_cli/tests/test_click.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,3 +350,10 @@ def test_execute(tmp_path):
assert "False" in output

print("Completed testing execute command on local catalog.")


@pytest.mark.skip
@pytest.mark.integration
def test_publish_multiple_nodes(tmp_path):
# TODO: Setup multinode cluster for test environment
pass
4 changes: 2 additions & 2 deletions libs/agentc_core/agentc_core/util/ddl.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


def is_index_present(
bucket: str = "", index_to_create: str = "", conn: CouchbaseConnect = None, fts_nodes_hostname=None
bucket: str = "", index_to_create: str = "", conn: CouchbaseConnect = None, fts_nodes_hostname: list[str] = None
) -> tuple[bool | dict | None, Exception | None]:
"""Checks for existence of index_to_create in the given keyspace"""
if fts_nodes_hostname is None:
Expand Down Expand Up @@ -103,7 +103,7 @@ def create_vector_index(

if num_fts_nodes == 0:
raise ValueError(
"No node with fts service found, cannot create vector index! Please ensure fts service is included in at least one node."
"No node with 'search' service found, cannot create vector index! Please ensure 'search' service is included in at least one node."
)

max_partition = (
Expand Down

0 comments on commit a5aa679

Please sign in to comment.