diff --git a/Makefile b/Makefile index 112277d99..5b63d6173 100644 --- a/Makefile +++ b/Makefile @@ -31,16 +31,16 @@ checkstyle: build: build/distributions/tiered-storage-for-apache-kafka-$(VERSION).tgz storage/s3/build/distributions/s3-$(VERSION).tgz storage/gcs/build/distributions/gcs-$(VERSION).tgz storage/azure/build/distributions/azure-$(VERSION).tgz build/distributions/tiered-storage-for-apache-kafka-$(VERSION).tgz: - ./gradlew build distTar -x test -x integrationTest -x e2e:test + ./gradlew build distTar -x test -x integrationTest storage/s3/build/distributions/s3-$(VERSION).tgz: - ./gradlew build :storage:s3:distTar -x test -x integrationTest -x e2e:test + ./gradlew build :storage:s3:distTar -x test -x integrationTest storage/gcs/build/distributions/gcs-$(VERSION).tgz: - ./gradlew build :storage:gcs:distTar -x test -x integrationTest -x e2e:test + ./gradlew build :storage:gcs:distTar -x test -x integrationTest storage/azure/build/distributions/azure-$(VERSION).tgz: - ./gradlew build :storage:azure:distTar -x test -x integrationTest -x e2e:test + ./gradlew build :storage:azure:distTar -x test -x integrationTest .PHONY: docs docs: @@ -48,15 +48,15 @@ docs: ./gradlew :docs:genMetricsDocs test: build - ./gradlew test -x e2e:test + ./gradlew test integration_test: build - ./gradlew integrationTest + ./gradlew integrationTest -x :e2e:integrationTest E2E_TEST=LocalSystem e2e_test: build - ./gradlew e2e:test --tests $(E2E_TEST)* + ./gradlew :e2e:integrationTest --tests $(E2E_TEST)* .PHONY: docker_image docker_image: build diff --git a/e2e/build.gradle b/e2e/build.gradle index 582904b2a..3f082c4ad 100644 --- a/e2e/build.gradle +++ b/e2e/build.gradle @@ -15,26 +15,26 @@ */ dependencies { - testImplementation "org.apache.kafka:kafka-clients:$kafkaVersion" - testImplementation "org.apache.kafka:kafka-server-common:$kafkaVersion" - testImplementation "org.apache.kafka:kafka-storage:$kafkaVersion" - testImplementation "org.apache.kafka:kafka-storage-api:$kafkaVersion" + integrationTestImplementation "org.apache.kafka:kafka-clients:$kafkaVersion" + integrationTestImplementation "org.apache.kafka:kafka-server-common:$kafkaVersion" + integrationTestImplementation "org.apache.kafka:kafka-storage:$kafkaVersion" + integrationTestImplementation "org.apache.kafka:kafka-storage-api:$kafkaVersion" - testImplementation "commons-io:commons-io:$apacheCommonsIOVersion" - testImplementation("software.amazon.awssdk:s3:$awsSdkVersion") { + integrationTestImplementation "commons-io:commons-io:$apacheCommonsIOVersion" + integrationTestImplementation("software.amazon.awssdk:s3:$awsSdkVersion") { exclude group: "org.slf4j" } - implementation "com.google.cloud:google-cloud-storage:$gcpSdkVersion" + integrationTestImplementation "com.google.cloud:google-cloud-storage:$gcpSdkVersion" - testImplementation "org.testcontainers:junit-jupiter:$testcontainersVersion" - testImplementation "org.testcontainers:kafka:$testcontainersVersion" + integrationTestImplementation "org.testcontainers:junit-jupiter:$testcontainersVersion" + integrationTestImplementation "org.testcontainers:kafka:$testcontainersVersion" - testImplementation "io.aiven:testcontainers-fake-gcs-server:$testcontainersFakeGcsServerVersion" + integrationTestImplementation "io.aiven:testcontainers-fake-gcs-server:$testcontainersFakeGcsServerVersion" - testImplementation platform("com.azure:azure-sdk-bom:$azureSdkVersion") - testImplementation "com.azure:azure-storage-blob" + integrationTestImplementation platform("com.azure:azure-sdk-bom:$azureSdkVersion") + integrationTestImplementation "com.azure:azure-storage-blob" - testRuntimeOnly "org.slf4j:slf4j-log4j12:$slf4jVersion" + integrationTestRuntimeOnly "org.slf4j:slf4j-log4j12:$slf4jVersion" } tasks.named('test') { diff --git a/e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/AzureSingleBrokerDirectTest.java b/e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/AzureSingleBrokerDirectTest.java similarity index 100% rename from e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/AzureSingleBrokerDirectTest.java rename to e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/AzureSingleBrokerDirectTest.java diff --git a/e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/AzureSingleBrokerSocks5Test.java b/e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/AzureSingleBrokerSocks5Test.java similarity index 100% rename from e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/AzureSingleBrokerSocks5Test.java rename to e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/AzureSingleBrokerSocks5Test.java diff --git a/e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/AzureSingleBrokerTest.java b/e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/AzureSingleBrokerTest.java similarity index 100% rename from e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/AzureSingleBrokerTest.java rename to e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/AzureSingleBrokerTest.java diff --git a/e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/GcsSingleBrokerDirectTest.java b/e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/GcsSingleBrokerDirectTest.java similarity index 100% rename from e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/GcsSingleBrokerDirectTest.java rename to e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/GcsSingleBrokerDirectTest.java diff --git a/e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/GcsSingleBrokerSocks5Test.java b/e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/GcsSingleBrokerSocks5Test.java similarity index 100% rename from e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/GcsSingleBrokerSocks5Test.java rename to e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/GcsSingleBrokerSocks5Test.java diff --git a/e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/GcsSingleBrokerTest.java b/e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/GcsSingleBrokerTest.java similarity index 100% rename from e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/GcsSingleBrokerTest.java rename to e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/GcsSingleBrokerTest.java diff --git a/e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/LocalSystemSingleBrokerTest.java b/e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/LocalSystemSingleBrokerTest.java similarity index 100% rename from e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/LocalSystemSingleBrokerTest.java rename to e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/LocalSystemSingleBrokerTest.java diff --git a/e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/S3MinioSingleBrokerTest.java b/e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/S3MinioSingleBrokerTest.java similarity index 100% rename from e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/S3MinioSingleBrokerTest.java rename to e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/S3MinioSingleBrokerTest.java diff --git a/e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/SingleBrokerTest.java b/e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/SingleBrokerTest.java similarity index 100% rename from e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/SingleBrokerTest.java rename to e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/SingleBrokerTest.java diff --git a/e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/internal/RemoteLogMetadataDeserializer.java b/e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/internal/RemoteLogMetadataDeserializer.java similarity index 100% rename from e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/internal/RemoteLogMetadataDeserializer.java rename to e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/internal/RemoteLogMetadataDeserializer.java diff --git a/e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/internal/RemoteLogMetadataTracker.java b/e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/internal/RemoteLogMetadataTracker.java similarity index 100% rename from e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/internal/RemoteLogMetadataTracker.java rename to e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/internal/RemoteLogMetadataTracker.java diff --git a/e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/internal/RemoteSegment.java b/e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/internal/RemoteSegment.java similarity index 100% rename from e2e/src/test/java/io/aiven/kafka/tieredstorage/e2e/internal/RemoteSegment.java rename to e2e/src/integration-test/java/io/aiven/kafka/tieredstorage/e2e/internal/RemoteSegment.java diff --git a/e2e/src/test/resources/log4j.properties b/e2e/src/integration-test/resources/log4j.properties similarity index 100% rename from e2e/src/test/resources/log4j.properties rename to e2e/src/integration-test/resources/log4j.properties