Skip to content

Commit ce64f94

Browse files
committed
downgrade 1.27.1 checks to 1.27.0 until it lands
1 parent 675faba commit ce64f94

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/connection/integration.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ describe('Integration testing of the ConnectionGRPC class', () => {
3131
port: container.getMappedPort(8080),
3232
grpcPort: container.getMappedPort(50051),
3333
});
34-
expect(dbVersion.isLowerThan(1, 27, 0)).toBe(true); // change to 1.27.1 when it lands
34+
expect(dbVersion.isLowerThan(1, 27, 0)).toBe(true); // TODO: change to 1.27.1 when it lands
3535
} catch (err) {
3636
expect(err).toBeInstanceOf(WeaviateStartUpError);
3737
expect((err as WeaviateStartUpError).message).toContain(
3838
'RESOURCE_EXHAUSTED: Attempted to send message with a size larger than 1'
3939
);
40-
expect(dbVersion.isAtLeast(1, 27, 0)).toBe(true); // change to 1.27.1 when it lands
40+
expect(dbVersion.isAtLeast(1, 27, 0)).toBe(true); // TODO: change to 1.27.1 when it lands
4141
}
4242
});
4343
});

src/utils/dbVersion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export class DbVersionSupport {
136136
(version.isAtLeast(1, 24, 0) && version.isLowerThan(1, 24, 26)) ||
137137
(version.isAtLeast(1, 25, 0) && version.isLowerThan(1, 25, 22)) ||
138138
(version.isAtLeast(1, 26, 0) && version.isLowerThan(1, 26, 8)) ||
139-
(version.isAtLeast(1, 27, 0) && version.isLowerThan(1, 27, 1)),
139+
version.isAtLeast(1, 27, 0), // TODO: add version.isLowerThan(1, 27, 0) when it lands
140140
message: this.errorMessage(
141141
'Named vectors insert fix',
142142
version.show(),

0 commit comments

Comments
 (0)