Skip to content

refactor ConcurrentStream #342

refactor ConcurrentStream

refactor ConcurrentStream #342

Triggered via push November 11, 2023 16:59
Status Failure
Total duration 4m 1s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
build
Process completed with exit code 1.
build: src/Downloader.Test/IntegrationTests/ThrottledStreamTest.cs#L42
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
build: src/Downloader.Test/HelperTests/DummyFileControllerTest.cs#L131
Do not use Assert.True() to check for substrings. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2009)
build: src/Downloader.Test/HelperTests/DummyFileControllerTest.cs#L153
Do not use Assert.True() to check for substrings. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2009)
build: src/Downloader.Test/UnitTests/RequestTest.cs#L260
'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build: src/Downloader.Test/UnitTests/RequestTest.cs#L280
'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build: src/Downloader.Test/HelperTests/DummyFileControllerTest.cs#L280
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build: src/Downloader.Test/IntegrationTests/ThrottledStreamTest.cs#L42
Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030)
build: src/Downloader.Test/HelperTests/DummyFileControllerTest.cs#L131
Do not use Assert.True() to check for substrings. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2009)
build: src/Downloader.Test/HelperTests/DummyFileControllerTest.cs#L153
Do not use Assert.True() to check for substrings. Use Assert.Contains instead. (https://xunit.net/xunit.analyzers/rules/xUnit2009)
build: src/Downloader.Test/UnitTests/RequestTest.cs#L260
'WebRequest.Create(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build: src/Downloader/Request.cs#L42
'WebRequest.CreateHttp(Uri)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build: src/Downloader/Request.cs#L42
'WebRequest.CreateHttp(Uri)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)