Feat/introduce web client #1108
Annotations
100 errors
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert many (1000) objects at once:
packages/test/src/data/integration.test.ts#L262
AssertionError: expected true to be falsy
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:262:32
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert many (100) objects at once:
packages/core/src/grpc/batcher.ts#L97
WeaviateBatchError: Batch objects insert failed with message: /weaviate.v1.Weaviate/BatchObjects UNKNOWN: panic occurred: runtime error: invalid memory address or nil pointer dereference
❯ ../core/src/grpc/batcher.ts:97:17
❯ ../core/src/data/index.ts:267:23
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert many (10) objects at once:
packages/test/src/data/integration.test.ts#L212
AssertionError: expected true to be falsy
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:212:32
|
|
src/connection/unit.test.ts:
packages/test/src/server.ts#L2
Error: Cannot find package '@curveball/core' imported from '/home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts'
❯ src/server.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
Caused by: Caused by: Error: Failed to load url @curveball/core (resolved id: @curveball/core) in /home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts. Does the file exist?
❯ loadAndTransform ../../node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:51968:17
|
|
src/aggregate/integration.test.ts > Testing of collection.aggregate search methods > should return a grouped aggregation on a nearText search:
packages/core/src/aggregate/index.ts#L781
WeaviateQueryError: Query call with protocol GraphQL failed with message: invalid usage: Error: nearObject filter: id or beacon needs to be set
❯ ../core/src/aggregate/index.ts:781:15
❯ src/aggregate/integration.test.ts:516:20
|
|
src/aggregate/integration.test.ts > Testing of collection.aggregate search methods > should return an aggregation on a nearObject search:
packages/core/src/aggregate/index.ts#L758
WeaviateQueryError: Query call with protocol GraphQL failed with message: invalid usage: Error: nearObject filter: id or beacon needs to be set
❯ ../core/src/aggregate/index.ts:758:15
❯ src/aggregate/integration.test.ts:508:20
|
|
src/aggregate/integration.test.ts > Testing of collection.aggregate search methods > should return a grouped aggregation on a nearVector search:
packages/core/src/grpc/searcher.ts#L188
WeaviateQueryError: Query call with protocol gRPC failed with message: /weaviate.v1.Weaviate/Search UNKNOWN: no such class with name 'TestCollectionAggregateSearches' found in the schema. Check your schema files for which classes are available
❯ ../core/src/grpc/searcher.ts:188:17
❯ src/aggregate/integration.test.ts:496:17
|
|
src/aggregate/integration.test.ts > Testing of collection.aggregate search methods > should return an aggregation on a nearVector search:
packages/core/src/grpc/searcher.ts#L188
WeaviateQueryError: Query call with protocol gRPC failed with message: /weaviate.v1.Weaviate/Search UNKNOWN: no such class with name 'TestCollectionAggregateSearches' found in the schema. Check your schema files for which classes are available
❯ ../core/src/grpc/searcher.ts:188:17
❯ src/aggregate/integration.test.ts:487:17
|
|
src/aggregate/integration.test.ts > Testing of collection.aggregate search methods > should return a grouped aggregation on a nearText search:
packages/core/src/aggregate/index.ts#L781
WeaviateQueryError: Query call with protocol GraphQL failed with message: Cannot query field "TestCollectionAggregateSearches" on type "AggregateObjectsObj". Did you mean "TestCollectionData" or "TestCollectionDataMultiVectors"?: {"response":{"errors":[{"locations":[{"column":12,"line":1}],"message":"Cannot query field \"TestCollectionAggregateSearches\" on type \"AggregateObjectsObj\". Did you mean \"TestCollectionData\" or \"TestCollectionDataMultiVectors\"?","path":null}],"status":200,"headers":{}},"request":{"query":"{Aggregate{TestCollectionAggregateSearches(nearText:{concepts:[\"test\"]},groupBy:[\"text\"],objectLimit:1000){meta { count }text { count }groupedBy { path value }}}}"}}
❯ ../core/src/aggregate/index.ts:781:15
❯ src/aggregate/integration.test.ts:476:20
|
|
src/aggregate/integration.test.ts > Testing of collection.aggregate search methods > should return an aggregation on a nearText search:
packages/core/src/aggregate/index.ts#L758
WeaviateQueryError: Query call with protocol GraphQL failed with message: Cannot query field "TestCollectionAggregateSearches" on type "AggregateObjectsObj". Did you mean "TestCollectionData" or "TestCollectionDataMultiVectors"?: {"response":{"errors":[{"locations":[{"column":12,"line":1}],"message":"Cannot query field \"TestCollectionAggregateSearches\" on type \"AggregateObjectsObj\". Did you mean \"TestCollectionData\" or \"TestCollectionDataMultiVectors\"?","path":null}],"status":200,"headers":{}},"request":{"query":"{Aggregate{TestCollectionAggregateSearches(nearText:{concepts:[\"test\"]},objectLimit:1000){meta { count }text { count }}}}"}}
❯ ../core/src/aggregate/index.ts:758:15
❯ src/aggregate/integration.test.ts:468:20
|
|
src/connection/integration.test.ts > Integration testing of the ConnectionGRPC class > should fail to startup due to message-size limit:
packages/test/src/connection/integration.test.ts#L39
AssertionError: expected 'Weaviate startup failed with message:…' to contain 'RESOURCE_EXHAUSTED: Attempted to send…'
Expected: "RESOURCE_EXHAUSTED: Attempted to send message with a size larger than 1"
Received: "Weaviate startup failed with message: Weaviate failed to startup with message: /grpc.health.v1.Health/Check RESOURCE_EXHAUSTED: grpc: received message larger than max (30 vs. 1)"
❯ src/connection/integration.test.ts:39:53
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to verify that an object exists:
packages/test/src/data/integration.test.ts#L478
AssertionError: expected false to be truthy
- Expected
+ Received
- true
+ false
❯ src/data/integration.test.ts:478:20
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add objects with a phone number:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: class \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:464:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add objects with a geo coordinate:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: class \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:439:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add many references in batch:
packages/test/src/data/integration.test.ts#L397
AssertionError: expected true to deeply equal false
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:397:31
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to delete a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"msg:collection not found code:400 err:collection \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to replace a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 404 and message:
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 404 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"msg:collection not found code:400 err:collection \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert many (1000) objects at once:
packages/test/src/data/integration.test.ts#L262
AssertionError: expected true to be falsy
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:262:32
|
|
src/aggregate/integration.test.ts > Testing of the collection.aggregate methods with named vectors > should aggregate data with a near text search over a named vector:
packages/core/src/grpc/aggregator.ts#L145
WeaviateQueryError: Query call with protocol gRPC failed with message: /weaviate.v1.Weaviate/Aggregate UNKNOWN: parse params: could not find class TestCollectionAggregateVectors in schema
❯ ../core/src/grpc/aggregator.ts:145:17
❯ src/aggregate/integration.test.ts:339:20
|
|
src/data/integration.test.ts > Testing of BYOV insertion with legacy vectorizer > should insert and retrieve many vectors using the new client:
packages/test/src/data/integration.test.ts#L1027
AssertionError: expected true to be falsy
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:1027:23
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"msg:collection not found code:400 err:collection \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:44:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/connection/unit.test.ts:
packages/test/src/server.ts#L2
Error: Cannot find package '@curveball/core' imported from '/home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts'
❯ src/server.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
Caused by: Caused by: Error: Failed to load url @curveball/core (resolved id: @curveball/core) in /home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts. Does the file exist?
❯ loadAndTransform ../../node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:51968:17
|
|
src/connection/integration.test.ts > Integration testing of the ConnectionGRPC class > should fail to startup due to message-size limit:
packages/test/src/connection/integration.test.ts#L39
AssertionError: expected 'Weaviate startup failed with message:…' to contain 'RESOURCE_EXHAUSTED: Attempted to send…'
Expected: "RESOURCE_EXHAUSTED: Attempted to send message with a size larger than 1"
Received: "Weaviate startup failed with message: Weaviate failed to startup with message: /grpc.health.v1.Health/Check RESOURCE_EXHAUSTED: grpc: received message larger than max (30 vs. 1)"
❯ src/connection/integration.test.ts:39:53
|
|
src/aggregate/integration.test.ts > Testing of the collection.aggregate methods > should aggregate data without a search and all property metrics:
packages/core/src/aggregate/index.ts#L758
WeaviateQueryError: Query call with protocol GraphQL failed with message: GraphQL Error (Code: 422): {"response":{"error":[{"message":"no graphql provider present, this is most likely because no schema is present. Import a schema first!"}],"status":422,"headers":{}},"request":{"query":"{Aggregate{TestCollectionAggregate{meta { count }text { count topOccurrences { occurs value } } texts { count topOccurrences { occurs value } } int { count maximum mean median minimum mode sum } ints { count maximum mean median minimum mode sum } number { count maximum mean median minimum mode sum } numbers { count maximum mean median minimum mode sum } date { count maximum median minimum mode } dates { count maximum median minimum } boolean { count percentageFalse percentageTrue totalFalse totalTrue } booleans { count percentageFalse percentageTrue totalFalse totalTrue }}}}"}}
❯ ../core/src/aggregate/index.ts:758:15
❯ src/aggregate/integration.test.ts:183:20
|
|
src/aggregate/integration.test.ts > Testing of the collection.aggregate methods > should aggregate data without a search and one non-generic property metric:
packages/core/src/aggregate/index.ts#L758
WeaviateQueryError: Query call with protocol GraphQL failed with message: GraphQL Error (Code: 422): {"response":{"error":[{"message":"no graphql provider present, this is most likely because no schema is present. Import a schema first!"}],"status":422,"headers":{}},"request":{"query":"{Aggregate{TestCollectionAggregate{meta { count }text { count topOccurrences { occurs value } }}}}"}}
❯ ../core/src/aggregate/index.ts:758:15
❯ src/aggregate/integration.test.ts:171:20
|
|
src/aggregate/integration.test.ts > Testing of the collection.aggregate methods > should aggregate data without a search and one generic property metric:
packages/core/src/aggregate/index.ts#L758
WeaviateQueryError: Query call with protocol GraphQL failed with message: GraphQL Error (Code: 422): {"response":{"error":[{"message":"no graphql provider present, this is most likely because no schema is present. Import a schema first!"}],"status":422,"headers":{}},"request":{"query":"{Aggregate{TestCollectionAggregate{meta { count }text { count topOccurrences { occurs value } }}}}"}}
❯ ../core/src/aggregate/index.ts:758:15
❯ src/aggregate/integration.test.ts:159:20
|
|
src/aggregate/integration.test.ts > Testing of the collection.aggregate methods > should aggregate grouped by data with a near text search and no property metrics:
packages/core/src/aggregate/index.ts#L781
WeaviateQueryError: Query call with protocol GraphQL failed with message: GraphQL Error (Code: 422): {"response":{"error":[{"message":"no graphql provider present, this is most likely because no schema is present. Import a schema first!"}],"status":422,"headers":{}},"request":{"query":"{Aggregate{TestCollectionAggregate(nearText:{concepts:[\"test\"],certainty:0.01},groupBy:[\"text\"]){meta { count }groupedBy { path value }}}}"}}
❯ ../core/src/aggregate/index.ts:781:15
❯ src/aggregate/integration.test.ts:147:20
|
|
src/aggregate/integration.test.ts > Testing of the collection.aggregate methods > should aggregate grouped by data without a search and no property metrics:
packages/core/src/aggregate/index.ts#L781
WeaviateQueryError: Query call with protocol GraphQL failed with message: GraphQL Error (Code: 422): {"response":{"error":[{"message":"no graphql provider present, this is most likely because no schema is present. Import a schema first!"}],"status":422,"headers":{}},"request":{"query":"{Aggregate{TestCollectionAggregate(groupBy:[\"text\"]){meta { count }groupedBy { path value }}}}"}}
❯ ../core/src/aggregate/index.ts:781:15
❯ src/aggregate/integration.test.ts:138:20
|
|
src/aggregate/integration.test.ts > Testing of the collection.aggregate methods > should aggregate data without a search and no property metrics:
packages/core/src/aggregate/index.ts#L758
WeaviateQueryError: Query call with protocol GraphQL failed with message: GraphQL Error (Code: 422): {"response":{"error":[{"message":"no graphql provider present, this is most likely because no schema is present. Import a schema first!"}],"status":422,"headers":{}},"request":{"query":"{Aggregate{TestCollectionAggregate{meta { count }}}}"}}
❯ ../core/src/aggregate/index.ts:758:15
❯ src/aggregate/integration.test.ts:133:20
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add objects with a phone number:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: class \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:464:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add objects with a geo coordinate:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: class \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:439:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add many references in batch:
packages/test/src/data/integration.test.ts#L397
AssertionError: expected true to deeply equal false
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:397:31
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to delete a reference between two objects:
packages/core/src/grpc/searcher.ts#L188
WeaviateQueryError: Query call with protocol gRPC failed with message: /weaviate.v1.Weaviate/Search UNKNOWN: could not find class TestCollectionData in schema
❯ ../core/src/grpc/searcher.ts:188:17
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to replace a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 404 and message:
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 404 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert a reference between two objects:
packages/core/src/grpc/searcher.ts#L188
WeaviateQueryError: Query call with protocol gRPC failed with message: /weaviate.v1.Weaviate/Search UNKNOWN: could not find class TestCollectionData in schema
❯ ../core/src/grpc/searcher.ts:188:17
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert many (1000) objects at once:
packages/test/src/data/integration.test.ts#L262
AssertionError: expected true to be falsy
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:262:32
|
|
src/connection/unit.test.ts:
packages/test/src/server.ts#L2
Error: Cannot find package '@curveball/core' imported from '/home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts'
❯ src/server.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
Caused by: Caused by: Error: Failed to load url @curveball/core (resolved id: @curveball/core) in /home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts. Does the file exist?
❯ loadAndTransform ../../node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:51968:17
|
|
src/connection/integration.test.ts > Integration testing of the ConnectionGRPC class > should fail to startup due to message-size limit:
packages/test/src/connection/integration.test.ts#L39
AssertionError: expected 'Weaviate startup failed with message:…' to contain 'RESOURCE_EXHAUSTED: Attempted to send…'
Expected: "RESOURCE_EXHAUSTED: Attempted to send message with a size larger than 1"
Received: "Weaviate startup failed with message: Weaviate failed to startup with message: /grpc.health.v1.Health/Check RESOURCE_EXHAUSTED: grpc: received message larger than max (30 vs. 1)"
❯ src/connection/integration.test.ts:39:53
|
|
src/aggregate/integration.test.ts > Testing of collection.aggregate search methods:
packages/test/src/aggregate/integration.test.ts#L408
Error: Hook timed out in 10000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
❯ src/aggregate/integration.test.ts:408:3
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to verify that an object exists:
packages/test/src/data/integration.test.ts#L478
AssertionError: expected false to be truthy
- Expected
+ Received
- true
+ false
❯ src/data/integration.test.ts:478:20
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add objects with a phone number:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: class \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:464:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add objects with a geo coordinate:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: class \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:439:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add many references in batch:
packages/test/src/data/integration.test.ts#L397
AssertionError: expected true to deeply equal false
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:397:31
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to delete a reference between two objects:
packages/core/src/grpc/searcher.ts#L188
WeaviateQueryError: Query call with protocol gRPC failed with message: /weaviate.v1.Weaviate/Search UNKNOWN: could not find class TestCollectionData in schema
❯ ../core/src/grpc/searcher.ts:188:17
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to replace a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 404 and message:
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 404 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert a reference between two objects:
packages/core/src/grpc/searcher.ts#L188
WeaviateQueryError: Query call with protocol gRPC failed with message: /weaviate.v1.Weaviate/Search UNKNOWN: could not find class TestCollectionData in schema
❯ ../core/src/grpc/searcher.ts:188:17
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert many (1000) objects at once:
packages/test/src/data/integration.test.ts#L262
AssertionError: expected true to be falsy
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:262:32
|
|
src/connection/unit.test.ts:
packages/test/src/server.ts#L2
Error: Cannot find package '@curveball/core' imported from '/home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts'
❯ src/server.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
Caused by: Caused by: Error: Failed to load url @curveball/core (resolved id: @curveball/core) in /home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts. Does the file exist?
❯ loadAndTransform ../../node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:51968:17
|
|
src/aggregate/integration.test.ts > Testing of collection.aggregate search methods:
packages/test/src/aggregate/integration.test.ts#L408
Error: Hook timed out in 10000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
❯ src/aggregate/integration.test.ts:408:3
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add objects with a phone number:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: class \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:464:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add objects with a geo coordinate:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: class \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:439:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add many references in batch:
packages/test/src/data/integration.test.ts#L397
AssertionError: expected true to deeply equal false
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:397:31
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to delete a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"msg:collection not found code:400 err:collection \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to replace a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 404 and message:
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 404 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"msg:collection not found code:400 err:collection \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert many (1000) objects at once:
packages/test/src/data/integration.test.ts#L262
AssertionError: expected true to be falsy
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:262:32
|
|
src/connection/unit.test.ts:
packages/test/src/server.ts#L2
Error: Cannot find package '@curveball/core' imported from '/home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts'
❯ src/server.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
Caused by: Caused by: Error: Failed to load url @curveball/core (resolved id: @curveball/core) in /home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts. Does the file exist?
❯ loadAndTransform ../../node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:51968:17
|
|
src/connection/integration.test.ts > Integration testing of the ConnectionGRPC class > should fail to startup due to message-size limit:
packages/test/src/connection/integration.test.ts#L39
AssertionError: expected 'Weaviate startup failed with message:…' to contain 'RESOURCE_EXHAUSTED: Attempted to send…'
Expected: "RESOURCE_EXHAUSTED: Attempted to send message with a size larger than 1"
Received: "Weaviate startup failed with message: Weaviate failed to startup with message: /grpc.health.v1.Health/Check RESOURCE_EXHAUSTED: grpc: received message larger than max (30 vs. 1)"
❯ src/connection/integration.test.ts:39:53
|
|
src/aggregate/integration.test.ts > Testing of the collection.aggregate methods with named vectors > should aggregate data with a near text search over a named vector:
packages/core/src/grpc/aggregator.ts#L145
WeaviateQueryError: Query call with protocol gRPC failed with message: /weaviate.v1.Weaviate/Aggregate UNKNOWN: parse params: could not find class TestCollectionAggregateVectors in schema
❯ ../core/src/grpc/aggregator.ts:145:17
❯ src/aggregate/integration.test.ts:339:20
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to verify that an object exists:
packages/test/src/data/integration.test.ts#L478
AssertionError: expected false to be truthy
- Expected
+ Received
- true
+ false
❯ src/data/integration.test.ts:478:20
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add objects with a phone number:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: class \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:464:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add objects with a geo coordinate:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: class \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:439:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add many references in batch:
packages/test/src/data/integration.test.ts#L397
AssertionError: expected true to deeply equal false
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:397:31
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to delete a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"msg:collection not found code:400 err:collection \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to replace a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 404 and message:
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 404 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"msg:collection not found code:400 err:collection \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert many (1000) objects at once:
packages/test/src/data/integration.test.ts#L262
AssertionError: expected true to be falsy
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:262:32
|
|
src/connection/unit.test.ts:
packages/test/src/server.ts#L2
Error: Cannot find package '@curveball/core' imported from '/home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts'
❯ src/server.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
Caused by: Caused by: Error: Failed to load url @curveball/core (resolved id: @curveball/core) in /home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts. Does the file exist?
❯ loadAndTransform ../../node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:51968:17
|
|
src/connection/integration.test.ts > Integration testing of the ConnectionGRPC class > should fail to startup due to message-size limit:
packages/test/src/connection/integration.test.ts#L39
AssertionError: expected 'Weaviate startup failed with message:…' to contain 'RESOURCE_EXHAUSTED: Attempted to send…'
Expected: "RESOURCE_EXHAUSTED: Attempted to send message with a size larger than 1"
Received: "Weaviate startup failed with message: Weaviate failed to startup with message: /grpc.health.v1.Health/Check RESOURCE_EXHAUSTED: grpc: received message larger than max (30 vs. 1)"
❯ src/connection/integration.test.ts:39:53
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to verify that an object exists:
packages/test/src/data/integration.test.ts#L478
AssertionError: expected false to be truthy
- Expected
+ Received
- true
+ false
❯ src/data/integration.test.ts:478:20
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to verify that an object exists:
packages/test/src/data/integration.test.ts#L478
AssertionError: expected false to be truthy
- Expected
+ Received
- true
+ false
❯ src/data/integration.test.ts:478:20
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add objects with a phone number:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: class \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:464:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add objects with a phone number:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: class \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:464:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add objects with a geo coordinate:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: class \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:439:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add objects with a geo coordinate:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: class \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:439:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add many references in batch:
packages/test/src/data/integration.test.ts#L397
AssertionError: expected true to deeply equal false
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:397:31
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add many references in batch:
packages/test/src/data/integration.test.ts#L397
AssertionError: expected true to deeply equal false
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:397:31
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to delete a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"msg:collection not found code:400 err:collection \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to delete a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"msg:collection not found code:400 err:collection \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to replace a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 404 and message:
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 404 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to replace a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 404 and message:
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 404 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"msg:collection not found code:400 err:collection \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"msg:collection not found code:400 err:collection \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert many (1000) objects at once:
packages/test/src/data/integration.test.ts#L262
AssertionError: expected true to be falsy
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:262:32
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert many (1000) objects at once:
packages/test/src/data/integration.test.ts#L262
AssertionError: expected true to be falsy
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:262:32
|
|
src/connection/unit.test.ts:
packages/test/src/server.ts#L2
Error: Cannot find package '@curveball/core' imported from '/home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts'
❯ src/server.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
Caused by: Caused by: Error: Failed to load url @curveball/core (resolved id: @curveball/core) in /home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts. Does the file exist?
❯ loadAndTransform ../../node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:51968:17
|
|
src/connection/unit.test.ts:
packages/test/src/server.ts#L2
Error: Cannot find package '@curveball/core' imported from '/home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts'
❯ src/server.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
Caused by: Caused by: Error: Failed to load url @curveball/core (resolved id: @curveball/core) in /home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts. Does the file exist?
❯ loadAndTransform ../../node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:51968:17
|
|
src/connection/integration.test.ts > Integration testing of the ConnectionGRPC class > should fail to startup due to message-size limit:
packages/test/src/connection/integration.test.ts#L39
AssertionError: expected 'Weaviate startup failed with message:…' to contain 'RESOURCE_EXHAUSTED: Attempted to send…'
Expected: "RESOURCE_EXHAUSTED: Attempted to send message with a size larger than 1"
Received: "Weaviate startup failed with message: Weaviate failed to startup with message: /grpc.health.v1.Health/Check RESOURCE_EXHAUSTED: grpc: received message larger than max (30 vs. 1)"
❯ src/connection/integration.test.ts:39:53
|
|
src/connection/integration.test.ts > Integration testing of the ConnectionGRPC class > should fail to startup due to message-size limit:
packages/test/src/connection/integration.test.ts#L39
AssertionError: expected 'Weaviate startup failed with message:…' to contain 'RESOURCE_EXHAUSTED: Attempted to send…'
Expected: "RESOURCE_EXHAUSTED: Attempted to send message with a size larger than 1"
Received: "Weaviate startup failed with message: Weaviate failed to startup with message: /grpc.health.v1.Health/Check RESOURCE_EXHAUSTED: grpc: received message larger than max (30 vs. 1)"
❯ src/connection/integration.test.ts:39:53
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to verify that an object exists:
packages/test/src/data/integration.test.ts#L478
AssertionError: expected false to be truthy
- Expected
+ Received
- true
+ false
❯ src/data/integration.test.ts:478:20
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add objects with a phone number:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: class \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:464:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add objects with a geo coordinate:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: class \"TestCollectionData\" not found in schema"}]}
❯ ../core/src/connection/http.ts:399:33
❯ src/data/integration.test.ts:439:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 422 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to add many references in batch:
packages/test/src/data/integration.test.ts#L397
AssertionError: expected true to deeply equal false
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:397:31
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to delete a reference between two objects:
packages/core/src/grpc/searcher.ts#L188
WeaviateQueryError: Query call with protocol gRPC failed with message: /weaviate.v1.Weaviate/Search UNKNOWN: could not find class TestCollectionData in schema
❯ ../core/src/grpc/searcher.ts:188:17
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to replace a reference between two objects:
packages/core/src/connection/http.ts#L399
WeaviateUnexpectedStatusCodeError: The request to Weaviate failed with status code: 404 and message:
❯ ../core/src/connection/http.ts:399:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 404 }
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert a reference between two objects:
packages/core/src/grpc/searcher.ts#L188
WeaviateQueryError: Query call with protocol gRPC failed with message: /weaviate.v1.Weaviate/Search UNKNOWN: could not find class TestCollectionData in schema
❯ ../core/src/grpc/searcher.ts:188:17
|
|
src/data/integration.test.ts > Testing of the collection.data methods with a single target reference > should be able to insert many (1000) objects at once:
packages/test/src/data/integration.test.ts#L262
AssertionError: expected true to be falsy
- Expected
+ Received
- false
+ true
❯ src/data/integration.test.ts:262:32
|
|
src/connection/unit.test.ts:
packages/test/src/server.ts#L2
Error: Cannot find package '@curveball/core' imported from '/home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts'
❯ src/server.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
Caused by: Caused by: Error: Failed to load url @curveball/core (resolved id: @curveball/core) in /home/runner/work/typescript-client/typescript-client/packages/test/src/server.ts. Does the file exist?
❯ loadAndTransform ../../node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-C6uTJdX2.js:51968:17
|
|
src/aggregate/integration.test.ts > Testing of collection.aggregate.overAll with a multi-tenancy collection:
packages/test/src/aggregate/integration.test.ts#L356
Error: Hook timed out in 10000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
❯ src/aggregate/integration.test.ts:356:3
|