Browse Source

Revert "Temporarily ignore RSocket integration tests"

This reverts commit d5eeec0ae693c1fd31b9dd54058ecb72fef7e686.

Fixes gh-8643
Eleftheria Stein 5 years ago
parent
commit
0e37c722e2

+ 0 - 2
config/src/test/java/org/springframework/security/config/annotation/rsocket/HelloRSocketITests.java

@@ -22,7 +22,6 @@ import io.rsocket.transport.netty.server.CloseableChannel;
 import io.rsocket.transport.netty.server.TcpServerTransport;
 import io.rsocket.transport.netty.server.TcpServerTransport;
 import org.junit.After;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Before;
-import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.junit.runner.RunWith;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -53,7 +52,6 @@ import static org.assertj.core.api.Assertions.assertThatCode;
  */
  */
 @ContextConfiguration
 @ContextConfiguration
 @RunWith(SpringRunner.class)
 @RunWith(SpringRunner.class)
-@Ignore
 public class HelloRSocketITests {
 public class HelloRSocketITests {
 	@Autowired
 	@Autowired
 	RSocketMessageHandler handler;
 	RSocketMessageHandler handler;

+ 0 - 2
config/src/test/java/org/springframework/security/config/annotation/rsocket/RSocketMessageHandlerConnectionITests.java

@@ -22,7 +22,6 @@ import io.rsocket.transport.netty.server.CloseableChannel;
 import io.rsocket.transport.netty.server.TcpServerTransport;
 import io.rsocket.transport.netty.server.TcpServerTransport;
 import org.junit.After;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Before;
-import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.junit.runner.RunWith;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -59,7 +58,6 @@ import static org.assertj.core.api.Assertions.assertThatCode;
  */
  */
 @ContextConfiguration
 @ContextConfiguration
 @RunWith(SpringRunner.class)
 @RunWith(SpringRunner.class)
-@Ignore
 public class RSocketMessageHandlerConnectionITests {
 public class RSocketMessageHandlerConnectionITests {
 	@Autowired
 	@Autowired
 	RSocketMessageHandler handler;
 	RSocketMessageHandler handler;

+ 0 - 2
config/src/test/java/org/springframework/security/config/annotation/rsocket/RSocketMessageHandlerITests.java

@@ -23,7 +23,6 @@ import io.rsocket.transport.netty.server.CloseableChannel;
 import io.rsocket.transport.netty.server.TcpServerTransport;
 import io.rsocket.transport.netty.server.TcpServerTransport;
 import org.junit.After;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Before;
-import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.junit.runner.RunWith;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -59,7 +58,6 @@ import static org.assertj.core.api.Assertions.assertThatCode;
  */
  */
 @ContextConfiguration
 @ContextConfiguration
 @RunWith(SpringRunner.class)
 @RunWith(SpringRunner.class)
-@Ignore
 public class RSocketMessageHandlerITests {
 public class RSocketMessageHandlerITests {
 	@Autowired
 	@Autowired
 	RSocketMessageHandler handler;
 	RSocketMessageHandler handler;

+ 0 - 2
samples/boot/hellorsocket/src/integration-test/java/sample/HelloRSocketApplicationITests.java

@@ -15,7 +15,6 @@
  */
  */
 package sample;
 package sample;
 
 
-import org.junit.Ignore;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.boot.rsocket.context.LocalRSocketServerPort;
 import org.springframework.boot.rsocket.context.LocalRSocketServerPort;
 import org.springframework.boot.test.context.SpringBootTest;
 import org.springframework.boot.test.context.SpringBootTest;
@@ -41,7 +40,6 @@ import static org.springframework.security.rsocket.metadata.UsernamePasswordMeta
 @RunWith(SpringRunner.class)
 @RunWith(SpringRunner.class)
 @TestPropertySource(properties = "spring.rsocket.server.port=0")
 @TestPropertySource(properties = "spring.rsocket.server.port=0")
 @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
 @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
-@Ignore
 public class HelloRSocketApplicationITests {
 public class HelloRSocketApplicationITests {
 
 
 	@Autowired
 	@Autowired