Skip to content

Commit c56afb2

Browse files
committed
Fix incorrect default deletionStrategy in test
1 parent 2a4c2d2 commit c56afb2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
pull_request:
88

99
env:
10-
WEAVIATE_124: 1.24.21
10+
WEAVIATE_124: 1.24.25
1111
WEAVIATE_125: 1.25.21
1212
WEAVIATE_126: 1.26.7
1313
WEAVIATE_127: 1.27.0

src/collections/integration.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,9 @@ describe('Testing of the collections.create method', () => {
581581

582582
expect(response.replication.asyncEnabled).toEqual(false);
583583
expect(response.replication.deletionStrategy).toEqual<ReplicationDeletionStrategy>(
584-
'NoAutomatedResolution'
584+
(await cluster.getWeaviateVersion().then((ver) => ver.isLowerThan(1, 25, 0)))
585+
? 'NoAutomatedResolution'
586+
: 'DeleteOnConflict'
585587
);
586588
expect(response.replication.factor).toEqual(2);
587589

0 commit comments

Comments
 (0)