Commit f9d813a
authored
Improve
* Verifies that each call to `Netty4HttpRequestBodyStream#next` yields
exactly one chunk (or the stream is closed) since the
`IncrementalBulkService` relies on this property.
* Replaces several busy-waits with ones that block on a future for
faster test execution.
* Replaces several hard-coded constants with randomized values to
clarify that the precise value does not matter to the test.
* Reduces the use of unnecessary abbreviations in names.
* Reduce the use of global static state in favour of node-local
components.Netty4IncrementalRequestHandlingIT (elastic#127111)1 parent 3a6963a commit f9d813a
File tree
1 file changed
+428
-294
lines changed- modules/transport-netty4/src/internalClusterTest/java/org/elasticsearch/http/netty4
1 file changed
+428
-294
lines changed
0 commit comments