You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write-Host"The most recently written Microsoft.TestPlatform.ObjectModel.* nuget, is $($latestNuget.Name), which has '$suffix' suffix. Selecting only packages with that suffix."
EqtTrace.Verbose($"ParallelOperationManager.RunWorkInParallel: Running on pre-started host: {(DateTime.Now.TimeOfDay-slot.PreStartTime).TotalMilliseconds}ms {slot.InitTask?.Status}");
195
+
if(EqtTrace.IsVerboseEnabled)
196
+
{
197
+
EqtTrace.Verbose($"ParallelOperationManager.RunWorkInParallel: Running on pre-started host for work (source) {GetSourcesForSlotExpensive(slot)}: {(DateTime.Now.TimeOfDay-slot.PreStartTime).TotalMilliseconds}ms {slot.InitTask?.Status}");
// We already started as many as we were allowed, jump out;
179
202
if(startedWork==MaxParallelLevel)
180
203
{
204
+
EqtTrace.Verbose($"ParallelOperationManager.RunWorkInParallel: We started {startedWork} work items, which is the max parallel level. Won't start more work.");
EqtTrace.Verbose("ParallelOperationManager.RunWorkInParallel: Started work on a host.");
221
+
if(EqtTrace.IsVerboseEnabled)
222
+
{
223
+
EqtTrace.Verbose($"ParallelOperationManager.RunWorkInParallel: Started host in slot number {slot.Index} for work (source): {GetSourcesForSlotExpensive(slot)}.");
// We already started as many as we were allowed, jump out;
203
230
if(startedWork==MaxParallelLevel)
204
231
{
232
+
EqtTrace.Verbose($"ParallelOperationManager.RunWorkInParallel: We started {startedWork} work items, which is the max parallel level. Won't start more work.");
// Return true when we started more work. Or false, when there was nothing more to do.
224
255
// This will propagate to handling of partial discovery or partial run.
225
-
returnpreStartedWork+startedWork>0;
256
+
varweAddedMoreWork=preStartedWork+startedWork>0;
257
+
EqtTrace.Verbose($"ParallelOperationManager.RunWorkInParallel: We started {preStartedWork+startedWork} work items in here, returning {weAddedMoreWork}.");
thrownewInvalidOperationException("The provided manager was found in multiple slots.");
259
292
}
260
293
294
+
if(EqtTrace.IsVerboseEnabled)
295
+
{
296
+
EqtTrace.Verbose($"ParallelOperationManager.ClearCompletedSlot: Clearing slot number {completedSlot[0].Index} with work (source): {GetSourcesForSlotExpensive(completedSlot[0])}.");
0 commit comments