diff --git a/airbyte-integrations/connectors/destination-meilisearch/build.gradle b/airbyte-integrations/connectors/destination-meilisearch/build.gradle index 6da1d6745e72..4c35539c9edf 100644 --- a/airbyte-integrations/connectors/destination-meilisearch/build.gradle +++ b/airbyte-integrations/connectors/destination-meilisearch/build.gradle @@ -6,7 +6,8 @@ plugins { application { mainClass = 'io.airbyte.integrations.destination.meilisearch.MeiliSearchDestination' - applicationDefaultJvmArgs = ['-XX:MaxRAMPercentage=75.0'] + // Needed for JDK17 + applicationDefaultJvmArgs = ['-XX:MaxRAMPercentage=75.0','--add-opens', 'java.base/java.lang=ALL-UNNAMED'] } dependencies { @@ -14,7 +15,7 @@ dependencies { implementation project(':airbyte-integrations:bases:base-java') implementation project(':airbyte-protocol:models') - implementation 'com.meilisearch.sdk:meilisearch-java:0.2.0' + implementation 'com.meilisearch.sdk:meilisearch-java:0.6.0' integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-destination-test') integrationTestJavaImplementation project(':airbyte-integrations:connectors:destination-meilisearch') diff --git a/airbyte-integrations/connectors/destination-meilisearch/src/test-integration/java/io/airbyte/integrations/destination/meilisearch/MeiliSearchDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-meilisearch/src/test-integration/java/io/airbyte/integrations/destination/meilisearch/MeiliSearchDestinationAcceptanceTest.java index 462bbb32d77b..2d59bb5ad0eb 100644 --- a/airbyte-integrations/connectors/destination-meilisearch/src/test-integration/java/io/airbyte/integrations/destination/meilisearch/MeiliSearchDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-meilisearch/src/test-integration/java/io/airbyte/integrations/destination/meilisearch/MeiliSearchDestinationAcceptanceTest.java @@ -39,7 +39,7 @@ protected void setup(final TestDestinationEnv testEnv) throws IOException { final Path meiliSearchDataDir = Files.createTempDirectory(Path.of("/tmp"), "meilisearch-integration-test"); meiliSearchDataDir.toFile().deleteOnExit(); - genericContainer = new GenericContainer<>(DockerImageName.parse("getmeili/meilisearch:latest")) + genericContainer = new GenericContainer<>(DockerImageName.parse("getmeili/meilisearch:v0.24.0")) .withFileSystemBind(meiliSearchDataDir.toString(), "/data.ms"); genericContainer.setPortBindings(ImmutableList.of(EXPOSED_PORT + ":" + DEFAULT_MEILI_SEARCH_PORT)); genericContainer.start();