Skip to content

Commit

Permalink
Merge pull request #1203 from dbwiddis/fsavailfix
Browse files Browse the repository at this point in the history
Remove too-strict filestore available size test
  • Loading branch information
matthiasblaesing committed Jun 2, 2020
2 parents 433821d + 17ba5a8 commit 1e86b54
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ public void testStatvfs() throws IOException, InterruptedException {

FileStore fstore = Files.getFileStore(Paths.get(testDirectory));
assertEquals(fstore.getTotalSpace(), vfs.f_blocks.longValue() * vfs.f_bsize.longValue());
assertEquals(fstore.getUsableSpace(), vfs.f_bavail.longValue() * vfs.f_bsize.longValue());
assertTrue(vfs.f_bsize.longValue() > 0);
assertTrue(vfs.f_bfree.longValue() <= vfs.f_blocks.longValue());
assertTrue(vfs.f_ffree.longValue() <= vfs.f_files.longValue());
Expand Down

0 comments on commit 1e86b54

Please sign in to comment.