Skip to content

v10.10.2024.0701 使用IJsonHost改进Json序列化 #319

v10.10.2024.0701 使用IJsonHost改进Json序列化

v10.10.2024.0701 使用IJsonHost改进Json序列化 #319

Triggered via push July 1, 2024 13:29
Status Failure
Total duration 6h 0m 19s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 20 warnings
test
The job running on runner GitHub Actions 17 has exceeded the maximum execution time of 360 minutes.
test
The operation was canceled.
test: Test/Program.cs#L36
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
test: Test/Program.cs#L428
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
test: Test/Program.cs#L97
The field 'Program._client' is never used
test: XUnitTest.Core/Collections/CollectionHelperTests.cs#L37
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: XUnitTest.Core/Collections/CollectionHelperTests.cs#L47
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: XUnitTest.Core/Log/TracerTests.cs#L401
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
test: XUnitTest.Core/IO/ExcelReaderTests.cs#L40
Public method 'Test2' on test class 'ExcelReaderTests' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
test: XUnitTest.Core/Common/MachineInfoTests.cs#L39
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
test: XUnitTest.Core/Extension/StringHelperTests.cs#L86
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
test: XUnitTest.Core/Data/PacketTests.cs#L178
The literal or constant value (byte)0x11 should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'AfterAppendSetTest' on type 'PacketTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
test: Test/Program.cs#L36
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
test: Test/Program.cs#L428
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
test: Test/Program.cs#L97
The field 'Program._client' is never used
test: XUnitTest.Core/Collections/CollectionHelperTests.cs#L37
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: XUnitTest.Core/Collections/CollectionHelperTests.cs#L47
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test: XUnitTest.Core/Log/TracerTests.cs#L401
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
test: XUnitTest.Core/IO/ExcelReaderTests.cs#L40
Public method 'Test2' on test class 'ExcelReaderTests' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
test: XUnitTest.Core/Data/PacketTests.cs#L178
The literal or constant value (byte)0x11 should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'AfterAppendSetTest' on type 'PacketTests'. Swap the parameter values. (https://xunit.net/xunit.analyzers/rules/xUnit2000)
test: XUnitTest.Core/Common/MachineInfoTests.cs#L39
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
test: XUnitTest.Core/Data/PacketTests.cs#L224
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)