You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched in the issues and found no similar issues.
Describe the flaky test
Error: Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.848 s <<< FAILURE! - in org.apache.uniffle.server.buffer.ShuffleBufferManagerTest
Error: cacheShuffleDataTest Time elapsed: 1.694 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <0> but was: <-3>
at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:527)
at org.apache.uniffle.server.buffer.ShuffleBufferManagerTest.cacheShuffleDataTest(ShuffleBufferManagerTest.java:307)
…Test (#511)
### What changes were proposed in this pull request?
Fix Flaky Test: ShuffleBufferManagerTest#cacheShuffleDataTest.
### Why are the changes needed?
It is flaky Test. Fix#507
I found logs as follows in `org.apache.uniffle.server.buffer.ShuffleBufferManagerTest-output.txt`.
```
2023-01-28 09:24:40,791 INFO [expiredAppCleaner] server.ShuffleTaskManager (ShuffleTaskManager.java:checkResourceStatus(511)) - Detect expired appId[removeShuffleDataTest1] according to rss.server.app.expired.withoutHeartbeat
```
So i think the reason is that some threads have not exit after running `ShuffleTaskManagerTest#removeShuffleDataWithHdfsTest`.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
No need
Co-authored-by: Kaijie Chen <ckj@apache.org>
Code of Conduct
Search before asking
Describe the flaky test
Actions URL
https://github.com/apache/incubator-uniffle/actions/runs/3965932842/jobs/6796171397
Parent issue
#1733
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: