-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor TimeBasedDirectoryCleanerConfigTest for macOS vs Linux
Change the concurrent test in TimeBasedDirectoryCleanerConfigTest so that it uses '>=' instead of '==' on macOS when waiting for number of deletions and when making assertions about the total delete count. This accommodates (though certainly doesn't explain) the behavior we see on macOS in which there are more successful deletions than there are files created. On Linux (CentOS as well as Ubuntu) we have never seen that behavior, so for those OSes we retain the strict equality check. Relates to #143 (which is already closed)
- Loading branch information
1 parent
4d1199c
commit 29bd98e
Showing
1 changed file
with
80 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters