Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tests by only flushing gzip writer once
Closing the gzip writer causes a flush, and doesn't actually close the underlying file, so we can switch to closing the gzip writer before closing the underlying file, instead of using Flush(). The previous approach of Flushing and then Closing caused us to flush twice, which had the side-effect of causing the underlying file to have an additional 5 bytes of data that was not expected in our tests. Signed-off-by: Chance Zibolski <chance.zibolski@gmail.com>
- Loading branch information