Skip to content

Commit 27169bd

Browse files
committed
Merge branch '3.0.x'
2 parents 8427e81 + c2dd20f commit 27169bd

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/src/intTest/java/org/springframework/boot/launchscript/JarLaunchScriptIntegrationTests.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -18,9 +18,11 @@
1818

1919
import java.util.List;
2020

21+
import org.junit.jupiter.api.condition.OS;
2122
import org.junit.jupiter.params.ParameterizedTest;
2223
import org.junit.jupiter.params.provider.MethodSource;
2324

25+
import org.springframework.boot.testsupport.junit.DisabledOnOs;
2426
import org.springframework.boot.testsupport.testcontainers.DisabledIfDockerUnavailable;
2527

2628
import static org.assertj.core.api.Assertions.assertThat;
@@ -32,6 +34,8 @@
3234
* @author Andy Wilkinson
3335
*/
3436
@DisabledIfDockerUnavailable
37+
@DisabledOnOs(os = { OS.LINUX, OS.MAC }, architecture = "aarch64",
38+
disabledReason = "The docker images have no ARM support")
3539
class JarLaunchScriptIntegrationTests extends AbstractLaunchScriptIntegrationTests {
3640

3741
JarLaunchScriptIntegrationTests() {

spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/src/intTest/java/org/springframework/boot/launchscript/SysVinitLaunchScriptIntegrationTests.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@
2020
import java.util.regex.Pattern;
2121

2222
import org.junit.jupiter.api.Assumptions;
23+
import org.junit.jupiter.api.condition.OS;
2324
import org.junit.jupiter.params.ParameterizedTest;
2425
import org.junit.jupiter.params.provider.MethodSource;
2526

2627
import org.springframework.boot.ansi.AnsiColor;
28+
import org.springframework.boot.testsupport.junit.DisabledOnOs;
2729
import org.springframework.boot.testsupport.testcontainers.DisabledIfDockerUnavailable;
2830

2931
import static org.assertj.core.api.Assertions.assertThat;
@@ -36,6 +38,8 @@
3638
* @author Alexey Vinogradov
3739
*/
3840
@DisabledIfDockerUnavailable
41+
@DisabledOnOs(os = { OS.LINUX, OS.MAC }, architecture = "aarch64",
42+
disabledReason = "The docker images have no ARM support")
3943
class SysVinitLaunchScriptIntegrationTests extends AbstractLaunchScriptIntegrationTests {
4044

4145
SysVinitLaunchScriptIntegrationTests() {

spring-boot-tests/spring-boot-integration-tests/spring-boot-loader-tests/src/intTest/java/org/springframework/boot/loader/LoaderIntegrationTests.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import java.util.function.Supplier;
2424
import java.util.stream.Stream;
2525

26+
import org.junit.jupiter.api.condition.OS;
2627
import org.junit.jupiter.params.ParameterizedTest;
2728
import org.junit.jupiter.params.provider.MethodSource;
2829
import org.testcontainers.containers.GenericContainer;
@@ -33,6 +34,7 @@
3334
import org.testcontainers.utility.MountableFile;
3435

3536
import org.springframework.boot.system.JavaVersion;
37+
import org.springframework.boot.testsupport.junit.DisabledOnOs;
3638
import org.springframework.boot.testsupport.testcontainers.DisabledIfDockerUnavailable;
3739
import org.springframework.util.Assert;
3840

@@ -44,6 +46,8 @@
4446
* @author Phillip Webb
4547
*/
4648
@DisabledIfDockerUnavailable
49+
@DisabledOnOs(os = { OS.LINUX, OS.MAC }, architecture = "aarch64",
50+
disabledReason = "Not all docker images have ARM support")
4751
class LoaderIntegrationTests {
4852

4953
private final ToStringConsumer output = new ToStringConsumer();

0 commit comments

Comments
 (0)