Skip to content

Commit f8ac7cb

Browse files
committed
Try fixes to broken tests in CI
1 parent ce64f94 commit f8ac7cb

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

src/collections/data/integration.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ describe('Testing of BYOV insertion with legacy vectorizer', () => {
10171017

10181018
afterAll(() => oldClient.schema.classDeleter().withClassName(collectionName).do());
10191019

1020-
it.only('should insert and retrieve many vectors using the new client', async () => {
1020+
it('should insert and retrieve many vectors using the new client', async () => {
10211021
const client = await weaviate.connectToLocal();
10221022
const collection = client.collections.get(collectionName);
10231023
const { uuids, hasErrors } = await collection.data.insertMany([

src/collections/serialize/index.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -378,15 +378,6 @@ export class Serialize {
378378
};
379379

380380
public static fetchObjectById = <T>(args: { id: string } & FetchObjectByIdOptions<T>): SearchFetchArgs => {
381-
console.log({
382-
...Serialize.common({
383-
filters: new FilterId().equal(args.id),
384-
includeVector: args.includeVector,
385-
returnMetadata: ['creationTime', 'updateTime', 'isConsistent'],
386-
returnProperties: args.returnProperties,
387-
returnReferences: args.returnReferences,
388-
}),
389-
});
390381
return {
391382
...Serialize.common({
392383
filters: new FilterId().equal(args.id),

src/connection/integration.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ describe('Integration testing of the ConnectionGRPC class', () => {
1919
GRPC_MAX_MESSAGE_SIZE: '1',
2020
})
2121
.start();
22+
expect(container).toBeDefined();
2223
});
2324
afterAll(async () => {
2425
await container.stop();

src/utils/dbVersion.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ export class DbVersionSupport {
135135
supports:
136136
(version.isAtLeast(1, 24, 0) && version.isLowerThan(1, 24, 26)) ||
137137
(version.isAtLeast(1, 25, 0) && version.isLowerThan(1, 25, 22)) ||
138-
(version.isAtLeast(1, 26, 0) && version.isLowerThan(1, 26, 8)) ||
139-
version.isAtLeast(1, 27, 0), // TODO: add version.isLowerThan(1, 27, 0) when it lands
138+
(version.isAtLeast(1, 26, 0) && version.isLowerThan(1, 26, 8)),
139+
// || (version.isAtLeast(1, 27, 0) && version.isLowerThan(1, 27, 1)), // TODO: comment back in when 1.27.1 lands
140140
message: this.errorMessage(
141141
'Named vectors insert fix',
142142
version.show(),

0 commit comments

Comments
 (0)