Skip to content

Commit

Permalink
Merge pull request #977 from weaviate/dev/1.25
Browse files Browse the repository at this point in the history
Dev/1.25
  • Loading branch information
dirkkul authored May 6, 2024
2 parents ccacce8 + 8b4ebe5 commit d2e7c53
Show file tree
Hide file tree
Showing 76 changed files with 3,259 additions and 555 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ on:
env:
WEAVIATE_123: 1.23.14
WEAVIATE_124: 1.24.10
WEAVIATE_125: 1.25.0-raft-fa6e08b
WEAVIATE_125: preview-remove-consistency-from-tenant-get-486f1a6


jobs:
lint-and-format:
Expand Down Expand Up @@ -107,7 +108,7 @@ jobs:
if: ${{ !github.event.pull_request.head.repo.fork }}
run: pytest -v --cov --cov-report=term-missing --cov=weaviate --cov-report xml:coverage-integration-embedded.xml integration_embedded
- name: Archive code coverage results
if: matrix.versions.py == '3.10' && (github.ref_name != 'main')
if: matrix.version == '3.10' && (github.ref_name != 'main')
uses: actions/upload-artifact@v4
with:
name: coverage-report-integration-embedded
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ nohup.out
coverage.xml
.pytest_cache
.mypy_cache
prof

image.png
.vscode/
Expand Down
8 changes: 8 additions & 0 deletions integration/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,14 @@ def test_client_cluster(client: weaviate.WeaviateClient, request: SubRequest) ->
assert len(nodes) == 1
assert len(nodes[0].shards) == 1
assert nodes[0].shards[0].collection == collection.name
assert nodes[0].shards[0].object_count == 0
assert nodes[0].shards[0].vector_indexing_status == "READY"
assert nodes[0].shards[0].vector_queue_length == 0
assert nodes[0].shards[0].compressed is False
if collection._connection._weaviate_version.is_lower_than(1, 24, 0):
assert nodes[0].shards[0].loaded is None
else:
assert nodes[0].shards[0].loaded is True


def test_client_cluster_multitenant(client: weaviate.WeaviateClient, request: SubRequest) -> None:
Expand Down
Loading

0 comments on commit d2e7c53

Please sign in to comment.