Skip to content

Commit

Permalink
Removed Assert that seems to be causing flaky test runs.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Oct 3, 2023
1 parent 11f9c7a commit f4db801
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,12 @@ protected void AssertLosslessCompressTwice(string fileName)

var after1 = tempFile.Length;

var compressed2 = Optimizer.LosslessCompress(tempFile.File);
Optimizer.LosslessCompress(tempFile.File);

var after2 = tempFile.Length;

Assert.InRange(after1, after2 - 1, after2 + 1);
Assert.True(compressed1);
Assert.False(compressed2);
}

protected void AssertLosslessCompressInvalidFileFormat(string fileName)
Expand Down

0 comments on commit f4db801

Please sign in to comment.