Commit 2a8b1b6
committed
fix(test): use order-independent assertions in testGetRaw
The test was failing intermittently because message ordering depends on
timestamps which can be non-deterministic when messages are stored
rapidly. Changed to use stream().anyMatch() assertions that verify
the expected data exists without depending on specific ordering.1 parent fca54fb commit 2a8b1b6
File tree
1 file changed
+7
-5
lines changed- core/src/test/java/com/redis/vl/extensions/messagehistory
1 file changed
+7
-5
lines changedLines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | | - | |
| 383 | + | |
384 | 384 | | |
| 385 | + | |
385 | 386 | | |
386 | 387 | | |
387 | 388 | | |
388 | 389 | | |
389 | 390 | | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
394 | 396 | | |
395 | 397 | | |
396 | 398 | | |
| |||
0 commit comments