FANNG1 opened a new issue, #7478:
URL: https://github.com/apache/gravitino/issues/7478
### Version
main branch
### Describe what's wrong
the test for entity store cache may fail in CI
### Error message and/or stacktrace
https://github.com/apache/gravitino/actions/runs/15868041084/job/44744639896?pr=7451
```
TestCaffeineEntityCache > testExpireByWeight() FAILED
org.opentest4j.AssertionFailedError: expected: <2> but was: <1>
at
app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at
app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at
app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:166)
at
app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:161)
at
app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:628)
at
app//org.apache.gravitino.cache.TestCaffeineEntityCache.testExpireByWeight(TestCaffeineEntityCache.java:792)
TestCaffeineEntityCache > testGetIfPresent() FAILED
org.opentest4j.AssertionFailedError: expected: <3> but was: <4>
at
app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at
app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at
app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:166)
at
app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:161)
at
app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:628)
at
app//org.apache.gravitino.cache.TestCaffeineEntityCache.testGetIfPresent(TestCaffeineEntityCache.java:281)
TestCaffeineEntityCache > testPutAllTypeInCache() FAILED
org.opentest4j.AssertionFailedError: expected: <14> but was: <11>
at
app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at
app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at
app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:166)
at
app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:161)
at
app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:628)
at
app//org.apache.gravitino.cache.TestCaffeineEntityCache.testPutAllTypeInCache(TestCaffeineEntityCache.java:144)
```
### How to reproduce
Not sure how to reproduce, it appears in ci
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]