From 06677fbb63aabf4d66284ba5f7890f8c8230773e Mon Sep 17 00:00:00 2001 From: Mihai Codoban Date: Tue, 29 Jun 2021 16:38:04 -0700 Subject: [PATCH] Comment test --- src/Build.UnitTests/ProjectCache/ProjectCacheTests.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Build.UnitTests/ProjectCache/ProjectCacheTests.cs b/src/Build.UnitTests/ProjectCache/ProjectCacheTests.cs index d617ecc609b..79446a04695 100644 --- a/src/Build.UnitTests/ProjectCache/ProjectCacheTests.cs +++ b/src/Build.UnitTests/ProjectCache/ProjectCacheTests.cs @@ -1500,6 +1500,13 @@ public void ParallelStressTest(bool useSynchronousLogging, bool disableInprocNod } [Fact] + // Schedules different requests for the same BuildRequestConfiguration in parallel. + // The first batch of the requests are cache misses, the second batch are cache hits via proxy builds. + // The first batch is delayed so it starts intermingling with the second batch. + // This test ensures that scheduling proxy builds on the inproc node works nicely within the Scheduler + // if the BuildRequestConfigurations for those proxy builds have built before (or are still building) on + // the out of proc node. + // More details: https://github.com/dotnet/msbuild/pull/6635 public void ProxyCacheHitsOnPreviousCacheMissesShouldWork() { var cacheNotApplicableTarget = "NATarget";