Aligned TestRestTemplate
Javadoc with documentation.
To make it more clear that it will be autoconfigured only if SpringBoot test is running is embedded mode, eg @SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
or @SpringBootTest(webEnvironment = WebEnvironment.DEFINED_PORT)
Documentation: https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-rest-templates-test-utility
Comment From: ahrytsiuk
Following tests failed:
:spring-boot-project:spring-boot-autoconfigure:test
org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfigurationTests > defaultVersion()
org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfigurationTests > randomlyAllocatedPortIsAvailableWhenCreatingMongoClient()
org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfigurationTests > shutdownHookIsNotRegistered()
Looks like flakiness since my changes are not related.
How can I re-run a pipeline?
Comment From: philwebb
Since these are javadoc changes don't worry about getting CI to pass.