From 232807d388df1c64657e74e5a11eb03dacb35798 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 9 Jan 2023 15:16:20 -0800 Subject: [PATCH] Increase block timeout --- .../neo4j/Neo4jReactiveHealthIndicatorIntegrationTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/neo4j/Neo4jReactiveHealthIndicatorIntegrationTests.java b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/neo4j/Neo4jReactiveHealthIndicatorIntegrationTests.java index 44e66cc10c..46911127d1 100644 --- a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/neo4j/Neo4jReactiveHealthIndicatorIntegrationTests.java +++ b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/neo4j/Neo4jReactiveHealthIndicatorIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2022 the original author or authors. + * Copyright 2012-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -64,7 +64,7 @@ public class Neo4jReactiveHealthIndicatorIntegrationTests { @Test void health() { - Health health = this.healthIndicator.getHealth(true).block(Duration.ofSeconds(5)); + Health health = this.healthIndicator.getHealth(true).block(Duration.ofSeconds(20)); assertThat(health.getStatus()).isEqualTo(Status.UP); assertThat(health.getDetails()).containsEntry("edition", "community"); }