1. 05 Aug, 2020 2 commits
    • Andy Wilkinson's avatar
      Merge branch '2.2.x' into 2.3.x · 94644f38
      Andy Wilkinson authored
      Closes gh-22737
      94644f38
    • Andy Wilkinson's avatar
      Try to make FileSystemWatcherTests.waitsForQuietPeriod() more robust · 2238b0d7
      Andy Wilkinson authored
      Previously, waitsForQuietPeriod would iterate 10 times, touching a new
      file and then sleeping for 100ms at it did so. With a quiet period of
      200ms, this was intended to result in a single change set containing
      10 files. However, the test would fail occasionally as multiple change
      sets were detected. The test is multi-threaded and is, therefore, at
      the mercy of the scheduler. If the thread that is iterating and
      touching the files takes over 200ms to be scheduled – exceeding the
      watcher's quiet period – the watcher may detect a change set while the
      changes are still being made. Eliminating this possibilty would require
      the test to participate in the watcher's synchronization, which would
      require some changes to its implementation. Instead, this commit
      aims to avoid the problem by sleeping for 1/10 of the time (10ms) and
      expecting a single change set of 100 files. The hope is that the much
      shorter sleep time will result in the file touching thread being
      scheduled well within the 200ms quiet period.
      
      Closes gh-22732
      2238b0d7
  2. 04 Aug, 2020 15 commits
  3. 03 Aug, 2020 8 commits
  4. 01 Aug, 2020 4 commits
  5. 31 Jul, 2020 5 commits
  6. 30 Jul, 2020 6 commits