feat(batch15): complete group 1 msgblock/consumerfilestore
This commit is contained in:
@@ -44,10 +44,10 @@ public sealed class DiskAvailabilityTests
|
||||
var root = Path.Combine(Path.GetTempPath(), $"disk-check-{Guid.NewGuid():N}");
|
||||
try
|
||||
{
|
||||
var available = DiskAvailability.DiskAvailable(root);
|
||||
|
||||
DiskAvailability.Check(root, Math.Max(0, available - 1)).ShouldBeTrue();
|
||||
DiskAvailability.Check(root, available + 1).ShouldBeFalse();
|
||||
// Use deterministic thresholds to avoid flaky comparisons between
|
||||
// two separate filesystem snapshots.
|
||||
DiskAvailability.Check(root, 0).ShouldBeTrue();
|
||||
DiskAvailability.Check(root, long.MaxValue).ShouldBeFalse();
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user