google / google/jimfs

Don't use polling for WatchService

Open
#43 1 comment 1 reaction 0 assignees View on GitHub
P4 type=enhancement
Dominant language
Java
Stars
2.6k
Forks
296
Avg merge
9m
Merged PRs (30d)
7

Description

Google policy forbids unit tests from calling sleep. If sleep is used, they have to be categorized as medium tests.

It would be nice if `PollingWatchService` was replaced with an implementation that uses mutex conditions, e.g. wait() and notify().

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.