Closed
Description
Steps to reproduce: Run gradle clean build
on an M1 Mac.
Possible cause: Pulsar image running super slow because of M1 Mac?
Workaround: Modify the image used in https://github.com/spring-projects-experimental/spring-pulsar/blob/749f2dbb5e386f77e842af2ece547fbdc0e8f84f/spring-pulsar/src/test/java/org/springframework/pulsar/core/AbstractContainerBaseTests.java#L24
with
static final DockerImageName PULSAR_IMAGE = DockerImageName.parse("kezhenxu94/pulsar").asCompatibleSubstituteFor("apachepulsar/pulsar");
Work items
- Understand what the root cause is. What is in the alternative image that makes it work? Is there some other change we should be considering or is this just the "M1 support in general is still catching up" category?
- Temporary stop-gap so that other users do not run into this, we could implement the above workaround automatically via Junit5 @EnabledOnOs annotation (one for M1 and one for all others).