Skip to content

Commit

Permalink
chore: review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Anush008 committed Mar 12, 2024
1 parent 37ae769 commit 723d975
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 7 additions & 3 deletions packages/modules/qdrant/src/qdrant-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ export class QdrantContainer extends GenericContainer {
private apiKey: string | undefined;
private configFilePath: string | undefined;

constructor(image = "qdrant/qdrant:latest") {
constructor(image = "qdrant/qdrant:v1.8.1") {
super(image);
this.withExposedPorts(QDRANT_REST_PORT, QDRANT_GRPC_PORT);
this.withWaitStrategy(Wait.forLogMessage(/Actix runtime found; starting in Actix runtime/));
this.withWaitStrategy(Wait.forHttp("/readyz", QDRANT_REST_PORT));
this.withWaitStrategy(
Wait.forAll([
Wait.forLogMessage(/Actix runtime found; starting in Actix runtime/),
Wait.forHttp("/readyz", QDRANT_REST_PORT),
])
);
}

public withApiKey(apiKey: string): this {
Expand Down
3 changes: 2 additions & 1 deletion packages/modules/qdrant/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"exclude": [
"build",
"jest.config.ts",
"src/**/*.test.ts"
"src/**/*.test.ts",
"src/test_config.yaml"
],
"references": [
{
Expand Down

0 comments on commit 723d975

Please sign in to comment.