Increase block timeout

pull/33774/head
Phillip Webb 2 years ago
parent 6a0a61f1ce
commit 232807d388

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -64,7 +64,7 @@ public class Neo4jReactiveHealthIndicatorIntegrationTests {
@Test @Test
void health() { 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.getStatus()).isEqualTo(Status.UP);
assertThat(health.getDetails()).containsEntry("edition", "community"); assertThat(health.getDetails()).containsEntry("edition", "community");
} }

Loading…
Cancel
Save