Skip to content

Commit

Permalink
dirSize test was to strict
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Boeck committed Nov 23, 2016
1 parent 6c3fb0b commit 88bb65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-S2_query.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ test_that('S2 downloads granules', {
expect_equal(file.info('testDir.zip')$size, 6399441)
expect_true(dir.exists('testDir'))
dirSize = as.numeric(sub('[^0-9]*$', '', system('du -s testDir', intern = TRUE)))
expect_lt(abs(dirSize - 9388), 32)
expect_lt(abs(dirSize - 9388), 200)
})

0 comments on commit 88bb65c

Please sign in to comment.