Run the tests with Spring Boot 2.3.3:
./mvnw -f pom.xml clean test
Results:
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
Run the tests with Spring Boot 2.3.4:
./mvnw -f pom-2.3.4.xml clean test
Results:
Tests in error:
shouldReturn200(org.example.ControllerTest): org.yaml.snakeyaml.LoaderOptions.setMaxAliasesForCollections(I)V
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
Difference between the two POMs:
diff pom.xml pom-2.3.4.xml
Results:
20c20
< <version>2.3.3.RELEASE</version>
---
> <version>2.3.4.RELEASE</version>
Inspect the test class path for 2.3.4:
./mvnw -f pom-2.3.4.xml clean dependency:build-classpath -DincludeScope=test | grep -o 'org/yaml/snakeyaml[^:]*'
Results:
org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar