alibaba / jetcache

JetCache is a Java cache framework.
Apache License 2.0
5.08k stars 1.05k forks source link

fix flaky PenetrationProtectTimeoutTest #871

Closed Roiocam closed 6 months ago

Roiocam commented 6 months ago

This test appears to be flaky in:

Error:  Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.229 s <<< FAILURE! - in com.alicp.jetcache.embedded.LinkedHashMapCacheTest
Error:  test  Time elapsed: 2.178 s  <<< FAILURE!
java.lang.AssertionError: expected:<2> but was:<1>
    at com.alicp.jetcache.embedded.LinkedHashMapCacheTest.test(LinkedHashMapCacheTest.java:34)
Roiocam commented 6 months ago

The PR https://github.com/alibaba/jetcache/pull/866 has been blocked by this issue, can you take a look? Thanks.

the new failure job caused by this issue:

areyouok commented 6 months ago

顶!

这些测试我也苦恼好久了,就是一直没能去搞定