We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All test pass
StepVerifierOptions
ContextWrite
Run these test
public class ContextTest { StepVerifierOptions stepVerifierOptions = StepVerifierOptions.create() .withInitialContext(Context.of("a", "b")); //fails @Test void testContextEmptyMono() { StepVerifier.create(Mono.empty(), stepVerifierOptions) .expectAccessibleContext() .contains("a", "b") .then() .verifyComplete(); } @Test void testContextEmptyFlux() { StepVerifier.create(Flux.empty(), stepVerifierOptions) .expectAccessibleContext() .contains("a", "b") .then() .verifyComplete(); } //passes @Test void testContextEmptyMonoWithContextWrite() { StepVerifier.create(Mono.empty().contextWrite(Context.of("a","b"))) .expectAccessibleContext() .contains("a", "b") .then() .verifyComplete(); } @Test void testContextNonEmptyMono() { StepVerifier.create(Mono.just("item"), stepVerifierOptions) .expectAccessibleContext() .contains("a", "b") .then() .expectNext("item") .verifyComplete(); } @Test void testContextNonEmptyFlux() { StepVerifier.create(Flux.just("item"), stepVerifierOptions) .expectAccessibleContext() .contains("a", "b") .then() .expectNext("item") .verifyComplete(); } }
java -version
The text was updated successfully, but these errors were encountered:
chemicL
No branches or pull requests
Expected Behavior
All test pass
Actual Behavior
StepVerifierOptions
StepVerifierOptions
fail with "No propagated Context"ContextWrite
passesSteps to Reproduce
Run these test
Your Environment
java -version
): 11The text was updated successfully, but these errors were encountered: