Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
exit on non-EAGAIN failures in multi-reader tests
Browse files Browse the repository at this point in the history
Ensure we exit our loop when File.Open() fails with something
other than EAGAIN in the CanReadWriteAFileInParallel()
functional test.

Thanks to derrickstolee for catching this on PR review!
  • Loading branch information
chrisd8088 committed Aug 21, 2019
1 parent 29f9f82 commit 1a91905
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ public void CanReadWriteAFileInParallel(FileSystemRunner fileSystem)
catch (Exception e)
{
readException = e;
retry = false;
}
finally
{
Expand Down

0 comments on commit 1a91905

Please sign in to comment.