Commit 6d54917
Update error propagation test: expect 0 entities before error due to race condition
The manual subscriber's onError fires before in-flight saveAll can push
results through tryEmitNext, so the caller sees 0 entities before the error.
Updated test expectation and added clarifying comment.
Signed-off-by: Noel F <noel@Noels-MacBook-Pro.local>1 parent 65a1be6 commit 6d54917
File tree
1 file changed
+9
-10
lines changed- src/test/java/org/springframework/data/elasticsearch/core
1 file changed
+9
-10
lines changedLines changed: 9 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1227 | 1227 | | |
1228 | 1228 | | |
1229 | 1229 | | |
1230 | | - | |
1231 | | - | |
1232 | | - | |
1233 | | - | |
| 1230 | + | |
| 1231 | + | |
1234 | 1232 | | |
1235 | | - | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
1236 | 1237 | | |
1237 | 1238 | | |
1238 | | - | |
1239 | | - | |
1240 | | - | |
1241 | | - | |
1242 | | - | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
1243 | 1242 | | |
1244 | 1243 | | |
1245 | 1244 | | |
| |||
0 commit comments