Commit 0cf22ae
authored
[Test] Fix assertion for number of message chunks (elastic#122571) (elastic#122717)
Depending on the position of the split and the size of the extra chunk,
the test may send out one more chunk than the assertion expects. This PR
ensures the assertoin is more accurate to count for this scenario.
Resolves: elastic#1223491 parent 5943592 commit 0cf22ae
File tree
1 file changed
+4
-1
lines changed- modules/transport-netty4/src/test/java/org/elasticsearch/transport/netty4
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
123 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
124 | 127 | | |
125 | 128 | | |
126 | 129 | | |
| |||
0 commit comments