Skip to content

Commit 5c44dbb

Browse files
author
Christian Bumann
committed
Create all test results in AzureDevOpsBuild.GetTestRuns before disposing the TestManagementHttpClient
Resolves #251
1 parent 75edc5d commit 5c44dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuild.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ public IEnumerable<AzureDevOpsTestRun> GetTestRuns()
436436
this.GetTestResults(testClient, runId)
437437
.GetAwaiter()
438438
.GetResult(),
439-
});
439+
}).ToList();
440440
}
441441
}
442442

0 commit comments

Comments
 (0)