Commit d30a69a
committed
Fix flaky DefaultAcknowledgementSetManagerTests.testExpirations
Move the monitor size assertion into the await().untilAsserted() block.
The assertion was placed after Thread.sleep() but before await(),
assuming the cleanup thread had already run. Under CI load, the cleanup
may not have completed in time, causing intermittent failures.
Signed-off-by: Sotaro Hikita <bering1814@gmail.com>1 parent cf682e7 commit d30a69a
File tree
1 file changed
+1
-1
lines changed- data-prepper-core/src/test/java/org/opensearch/dataprepper/core/acknowledgements
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | 113 | | |
115 | 114 | | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments