Skip to content

Commit 6543363

Browse files
committed
Fix for API version when patching a test run as completed
1 parent b82d32d commit 6543363

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

ReleaseNotes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.4.5
2+
3+
- [Fix] Fix for API version when patching a test run as completed
4+
15
# 0.4.4
26

37
- [Fix] Fix for patching aggregate failure outcome

src/AzurePipelines.TestLogger/LoggerQueue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ private async Task SendTestsCompleted(CancellationToken cancellationToken)
296296
string testRunRequest = $@"{{
297297
""state"": ""Completed""
298298
}}";
299-
await _apiClient.SendAsync(new HttpMethod("PATCH"), $"/{RunId}", "5.0-preview.5", testRunRequest, cancellationToken);
299+
await _apiClient.SendAsync(new HttpMethod("PATCH"), $"/{RunId}", "5.0-preview.2", testRunRequest, cancellationToken);
300300
}
301301
}
302302
}

0 commit comments

Comments
 (0)