Mono.whenDelayError with 3 parameters are only taking the last 2 parameter

146 views Asked by At

The issue can be reproduced with the following test

Mono<Tuple3<Integer, String, Long>> mono = Mono.whenDelayError(Mono.just(1), Mono.just("one), Mono.just(1L));
StepVerifier.create(mono)
.expectNextCount(1)
.verifyComplete();

The issue lies in Mono.java lines 864, where it only takes p2 and p3.

I'm using version 3.0.4.RELEASE

I have raised issue and pull request

1

There are 1 answers

0
Wins On BEST ANSWER

This is an issue with version 3.0.4 which will be fixed in version 3.0.5 as Simon stated.