Skip to content

Commit

Permalink
enables previously disabled tests (#991)
Browse files Browse the repository at this point in the history
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
Signed-off-by: Oleh Dokuka <[email protected]>
  • Loading branch information
Oleh Dokuka authored Feb 28, 2021
1 parent d3ae6fa commit da0c73f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,6 @@ public void shouldTerminateAllStreamsIfThereRacingBetweenDisposeAndRequests(
}

@Test
@Disabled("Reactor 3.4.0 should fix that. No need to do anything on our side")
// see https://github.com/rsocket/rsocket-java/issues/858
public void testWorkaround858() {
ByteBuf buffer = rule.alloc().buffer();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ public Mono<Payload> requestResponse(Payload payload) {

@Test
@Timeout(2_000)
@Disabled
public void testHandlerEmitsError() throws Exception {
final int streamId = 4;
rule.prefetch = 1;
rule.sendRequest(streamId, FrameType.REQUEST_STREAM);
assertThat(
"Unexpected frame sent.", frameType(rule.connection.awaitFrame()), is(FrameType.ERROR));
Expand Down Expand Up @@ -839,7 +839,6 @@ private static Stream<FrameType> refCntCases() {
}

@Test
@Disabled("Reactor 3.4.0 should fix that. No need to do anything on our side")
// see https://github.com/rsocket/rsocket-java/issues/858
public void testWorkaround858() {
ByteBuf buffer = rule.alloc().buffer();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatNullPointerException;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import reactor.core.publisher.Mono;
Expand Down Expand Up @@ -57,9 +56,6 @@ void constructorNullContext() {
.withMessage("channel must not be null");
}

@Disabled(
"NettyContext isDisposed() is not accurate\n"
+ "https://github.com/reactor/reactor-netty/issues/360")
@DisplayName("disposes context")
@Test
void dispose() {
Expand Down

0 comments on commit da0c73f

Please sign in to comment.