Skip to content

Commit

Permalink
Update localstack version to 3.1.0 (langchain4j#550)
Browse files Browse the repository at this point in the history
`OpenSearchEmbeddingStoreAwsIT` uses `latest` but this is a development
tag version that was used to unblock the IT, the fix is now part of
version `3.1.0`. Also, `AmazonS3DocumentLoaderIT` uses an old version.
Let's unified and use most recent LocalStack version.
  • Loading branch information
eddumelendez authored Jan 26, 2024
1 parent 3e6a0d5 commit 669e603
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static void beforeAll() {

@BeforeEach
public void beforeEach() {
s3Container = new LocalStackContainer(DockerImageName.parse("localstack/localstack:2.0"))
s3Container = new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.1.0"))
.withServices(S3)
.withEnv("DEFAULT_REGION", TEST_REGION);
s3Container.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
class OpenSearchEmbeddingStoreAwsIT extends EmbeddingStoreIT {

@Container
private static final LocalStackContainer localstack = new LocalStackContainer(DockerImageName.parse("localstack/localstack:latest"));
private static final LocalStackContainer localstack = new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.1.0"));

EmbeddingStore<TextSegment> embeddingStore = OpenSearchEmbeddingStore.builder()
.serverUrl(String.format("testcontainers-domain.%s.opensearch.localhost.localstack.cloud:%s", localstack.getRegion(), localstack.getMappedPort(4566)))
Expand Down

0 comments on commit 669e603

Please sign in to comment.