google / google/jimfs

testAsyncClose_write is flaky

Open
#40 0 comments 0 reactions 0 assignees View on GitHub
P3 type=defect
Dominant language
Java
Stars
2.6k
Forks
296
Avg merge
9m
Merged PRs (30d)
7

Description

In our build process, we also run the jimfs tests on our CI.

We've just noticed that `testAsyncClose_write` is flaky (in `com.google.common.jimfs.JimfsAsynchronousFileChannelTest`)

I guess it's due to the `Uninterruptibles.sleepUninterruptibly(10, MILLISECONDS);`.

Is it possible to improve this test so that it's not flaky anymore?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.