You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-web/src/test/java/org/springframework/http/server/reactive/AbstractHttpHandlerIntegrationTests.java
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,14 @@ public void tearDown() throws Exception {
79
79
/**
80
80
* Return an interval stream of with n number of ticks and buffer the
81
81
* emissions to avoid back pressure failures (e.g. on slow CI server).
82
+
*
83
+
* <p>Use this method as follows:
84
+
* <ul>
85
+
* <li>Tests that verify N number of items followed by verifyOnComplete()
86
+
* should set the number of emissions to N.
87
+
* <li>Tests that verify N number of items followed by thenCancel() should
88
+
* set the number of buffered to an arbitrary number greater than N.
0 commit comments