diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fbb46131..caa10693 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - distribution: 'corretto' + distribution: 'temurin' java-version: '21' java-package: jdk server-id: central # Value of the distributionManagement/repository/id field of the pom.xml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bdb9330d..01fc7935 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,7 +26,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - distribution: 'corretto' + distribution: 'temurin' java-version: '21' java-package: jdk diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index afc302c0..177438b9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - distribution: 'corretto' + distribution: 'temurin' java-version: '21' java-package: jdk server-id: central # Value of the distributionManagement/repository/id field of the pom.xml diff --git a/beekeeper-integration-tests/src/test/java/com/expediagroup/beekeeper/integration/utils/ContainerTestUtils.java b/beekeeper-integration-tests/src/test/java/com/expediagroup/beekeeper/integration/utils/ContainerTestUtils.java index 38f9bb7b..fdbc00a7 100644 --- a/beekeeper-integration-tests/src/test/java/com/expediagroup/beekeeper/integration/utils/ContainerTestUtils.java +++ b/beekeeper-integration-tests/src/test/java/com/expediagroup/beekeeper/integration/utils/ContainerTestUtils.java @@ -35,7 +35,7 @@ public static MySQLContainer mySqlContainer() { } public static LocalStackContainer awsContainer(LocalStackContainer.Service service) { - return new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.0.0")) + return new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.7.0")) .withServices(service); } diff --git a/beekeeper-metadata-cleanup/src/test/java/com/expediagroup/beekeeper/metadata/cleanup/service/CleanupServiceSchedulerTest.java b/beekeeper-metadata-cleanup/src/test/java/com/expediagroup/beekeeper/metadata/cleanup/service/CleanupServiceSchedulerTest.java index 1fc99238..877d6c5c 100644 --- a/beekeeper-metadata-cleanup/src/test/java/com/expediagroup/beekeeper/metadata/cleanup/service/CleanupServiceSchedulerTest.java +++ b/beekeeper-metadata-cleanup/src/test/java/com/expediagroup/beekeeper/metadata/cleanup/service/CleanupServiceSchedulerTest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2019-2021 Expedia, Inc. + * Copyright (C) 2019-2026 Expedia, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +26,6 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; -import org.mockito.junit.jupiter.MockitoExtension; import org.springframework.boot.test.mock.mockito.MockBean; import org.springframework.test.annotation.DirtiesContext; import org.springframework.test.context.ContextConfiguration; @@ -43,7 +42,6 @@ import com.expediagroup.beekeeper.core.error.BeekeeperException; @ExtendWith(SpringExtension.class) -@ExtendWith(MockitoExtension.class) @TestPropertySource(properties = { "properties.scheduler-delay-ms=2000" }) @ContextConfiguration(classes = { CleanupServiceScheduler.class, TestConfig.class }, diff --git a/beekeeper-path-cleanup/src/test/java/com/expediagroup/beekeeper/path/cleanup/service/CleanupServiceSchedulerTest.java b/beekeeper-path-cleanup/src/test/java/com/expediagroup/beekeeper/path/cleanup/service/CleanupServiceSchedulerTest.java index 7807da61..7db4c510 100644 --- a/beekeeper-path-cleanup/src/test/java/com/expediagroup/beekeeper/path/cleanup/service/CleanupServiceSchedulerTest.java +++ b/beekeeper-path-cleanup/src/test/java/com/expediagroup/beekeeper/path/cleanup/service/CleanupServiceSchedulerTest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2019-2021 Expedia, Inc. + * Copyright (C) 2019-2026 Expedia, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +26,6 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; -import org.mockito.junit.jupiter.MockitoExtension; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.mock.mockito.MockBean; import org.springframework.test.annotation.DirtiesContext; @@ -44,7 +43,6 @@ import com.expediagroup.beekeeper.core.error.BeekeeperException; @ExtendWith(SpringExtension.class) -@ExtendWith(MockitoExtension.class) @TestPropertySource(properties = { "properties.scheduler-delay-ms=2000" }) @ContextConfiguration(classes = { CleanupServiceScheduler.class, TestConfig.class },