Skip to content

Conversation

@tomerd
Copy link
Contributor

@tomerd tomerd commented Mar 18, 2021

motivation: better test coverage

changes:

  • refactor the common part of testInMemoryFileSystemFileLock, testLocalFileSystemFileLock, testRerootedFileSystemViewFileLock
  • resove the potential reader race by making sure file have content prior to starting the threads
  • enable the above disabled tests in FileSystemTests

rdar://71560894

motivation: better test coverage

changes:
* refactor the common part of testInMemoryFileSystemFileLock, testLocalFileSystemFileLock, testRerootedFileSystemViewFileLock
* resove the potential reader race by making sure file have content prior to starting the threads
* enable the above disabled tests in FileSystemTests

rdar://71560894
@tomerd
Copy link
Contributor Author

tomerd commented Mar 18, 2021

@swift-ci please test

@tomerd
Copy link
Contributor Author

tomerd commented Mar 18, 2021

@swift-ci please test

Copy link
Contributor

@benlangmuir benlangmuir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

@tomerd tomerd merged commit 3eba1fa into swiftlang:main Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants