Merge branch '2.2.x'

This commit is contained in:
Spencer Gibb
2020-04-29 16:36:48 -04:00
5 changed files with 10 additions and 23 deletions

View File

@@ -55,7 +55,7 @@
<spring-cloud-commons.version>3.0.0-SNAPSHOT</spring-cloud-commons.version>
<spring-cloud-circuitbreaker.version>2.0.0-SNAPSHOT</spring-cloud-circuitbreaker.version>
<embedded-redis.version>0.6</embedded-redis.version>
<blockhound.version>1.0.1.RELEASE</blockhound.version>
<blockhound.version>1.0.3.RELEASE</blockhound.version>
</properties>
<dependencyManagement>

View File

@@ -91,21 +91,6 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2019-2019 the original author or authors.
* Copyright 2013-2020 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.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
package reactor.blockhound.integration;
package org.springframework.cloud.gateway.test;
import reactor.blockhound.BlockHound;
import reactor.blockhound.integration.BlockHoundIntegration;
/**
* @author Tim Ysewyn

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2019-2019 the original author or authors.
* Copyright 2013-2020 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.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
package reactor.blockhound.integration;
package org.springframework.cloud.gateway.test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import reactor.core.publisher.Mono;
import reactor.core.scheduler.Schedulers;
@@ -25,8 +26,8 @@ import reactor.core.scheduler.Schedulers;
*/
public class CustomBlockHoundIntegrationTest {
// @Test
// ignore fails on java 13
@Test
// @EnabledOnJre(JRE.JAVA_8)
public void shouldThrowErrorForBlockingCallWithCustomBlockHoundIntegration() {
Assertions.assertThrows(RuntimeException.class, () -> Mono.fromCallable(() -> {
Thread.sleep(1);

View File

@@ -1 +1 @@
reactor.blockhound.integration.CustomBlockHoundIntegration
org.springframework.cloud.gateway.test.CustomBlockHoundIntegration