Commit 433bea0
Fix EventSourcedBehaviorRetentionSpec non-determinism
Split the second batch of 10 increments into smaller batches (3+3+4)
with intermediate assertions after each batch. This ensures snapshot
and delete signals are observed in the expected order, preventing
flaky test failures caused by interleaving of async operations.
Upstream: akka/akka-core@f38f8cce11
Cherry-picked from akka/akka-core v2.8.0, which is now Apache licensed.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 5addd96 commit 433bea0
1 file changed
Lines changed: 10 additions & 2 deletions
File tree
- persistence-typed-tests/src/test/scala/org/apache/pekko/persistence/typed/scaladsl
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
292 | 292 | | |
293 | 293 | | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
294 | 298 | | |
295 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
296 | 304 | | |
297 | 305 | | |
298 | 306 | | |
| |||
0 commit comments