-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement
Milestone
Description
Kamil opened SPR-17203 and commented
I'm providing test case
If you run $ ./gradlew test then test will fail with:
java.lang.AssertionError: PublisherProbe should not have been cancelled but it was
at reactor.test.publisher.PublisherProbe.assertWasNotCancelled(PublisherProbe.java:73)
at com.example.demo.MyControllerTests.shouldAllowRetrieval(MyControllerTests.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:436)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:115) but if you edit build.gradle file and change Spring version back to 5.0.7.RELEASE (comment line 18) then test will pass.
It is believed that this commit broke it: d1c9401#diff-5d32a8109e4c3e46a7a012dfca5c0384R109
Affects: 5.0.8
Attachments:
- spring_reactor_bug.zip (58.10 kB)
Referenced from: commits 1bdbc7b
1 votes, 5 watchers
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement