Provide more control over when the health endpoint shows details

Closes gh-11869
This commit is contained in:
Andy Wilkinson
2018-02-07 08:54:12 +00:00
parent 1975d51106
commit 8605499a64
18 changed files with 213 additions and 45 deletions

View File

@@ -34,7 +34,7 @@ import org.springframework.test.web.reactive.server.WebTestClient;
* @author Madhura Bhave
*/
@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, properties = "management.endpoint.health.show-details=never")
public class SampleSecureWebFluxApplicationTests {
@Autowired