When running the Spring Boot build with ./gradlew build
, the EmbeddedMongoAutoConfigurationTests
fail all the time. This is because Embedded Mongo has no support for Linux aarch64 (See https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/379).
We should workaround this by disabling the tests if running on Linux aarch64.
Comment From: mhalbritter
org.springframework.boot.web.embedded.jetty.SslServerCustomizerTests#whenHttp2IsEnabledServerConnectorsHasSslAlpnH2AndHttpConnectionFactories
and org.springframework.boot.web.embedded.jetty.SslServerCustomizerTests#alpnConnectionFactoryHasNullDefaultProtocolToAllowNegotiationToHttp11
also don't work on Linux aarch64, see https://github.com/google/conscrypt/issues/1051
They are now ignored on linux aarch64, too.
Comment From: wilkinsona
@sbrannen Do you think it would be worth proposing an enhancement to JUnit that provides a built-in condition for enabling/disabling tests on particular OS architectures?
Comment From: sbrannen
Yes, I think it's worth opening an issue for the JUnit team to discuss.
Related issue, though focusing on distributions instead of architectures:
- https://github.com/junit-team/junit5/issues/2713
I think explicit support for architectures stands a better chance than explicit support for distributions, since I see the former as generally more useful/applicable.
Comment From: wilkinsona
Thanks, Sam!