Skip to content

CI 馃攳 Upgrade to xUnit 3 #37

CI 馃攳 Upgrade to xUnit 3

CI 馃攳 Upgrade to xUnit 3 #37

Re-run triggered March 28, 2026 08:09
Status Failure
Total duration 6m 40s
Artifacts

ci.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 30 warnings
Tests dotnet 8
Process completed with exit code 1.
Tests dotnet 9
Process completed with exit code 1.
Tests dotnet 10
Process completed with exit code 1.
Tests dotnet 8: src/SFtpServer/SFtpServerResource.cs#L39
Converting null literal or possible null value to non-nullable type.
Tests dotnet 8: src/SqlServer/SqlServerResource.cs#L59
Cannot convert null literal to non-nullable reference type.
Tests dotnet 8: samples/GenericResource/XtraHeadersDelegateHandlerTests.cs#L34
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Tests dotnet 8: samples/GenericResource/XtraHeadersDelegateHandlerTests.cs#L31
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Tests dotnet 8: samples/GenericResource/XtraHeadersDelegateHandlerTests.cs#L43
Converting null literal or possible null value to non-nullable type.
Tests dotnet 8: src/Core/TestcontainersDockerManager.cs#L49
'ContainerBuilder.ContainerBuilder()' is obsolete: 'This parameterless constructor is obsolete and will be removed. Use the constructor with the image parameter instead: https://github.com/testcontainers/testcontainers-dotnet/discussions/1470#discussioncomment-15185721.'
Tests dotnet 8: src/Core/DynamicPortRuntimeVariableResolver.cs#L52
Converting null literal or possible null value to non-nullable type.
Tests dotnet 8: src/Core/VariableResolver.cs#L34
Converting null literal or possible null value to non-nullable type.
Tests dotnet 8: src/Core/Logger.cs#L58
Cannot convert null literal to non-nullable reference type.
Tests dotnet 9: samples/GenericResource/XtraHeadersDelegateHandlerTests.cs#L34
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Tests dotnet 9: samples/GenericResource/XtraHeadersDelegateHandlerTests.cs#L31
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Tests dotnet 9: samples/GenericResource/XtraHeadersDelegateHandlerTests.cs#L43
Converting null literal or possible null value to non-nullable type.
Tests dotnet 9: src/SFtpServer/SFtpServerResource.cs#L39
Converting null literal or possible null value to non-nullable type.
Tests dotnet 9: src/SqlServer/SqlServerResource.cs#L59
Cannot convert null literal to non-nullable reference type.
Tests dotnet 9: src/Core/TestcontainersDockerManager.cs#L49
'ContainerBuilder.ContainerBuilder()' is obsolete: 'This parameterless constructor is obsolete and will be removed. Use the constructor with the image parameter instead: https://github.com/testcontainers/testcontainers-dotnet/discussions/1470#discussioncomment-15185721.'
Tests dotnet 9: src/Core/VariableResolver.cs#L34
Converting null literal or possible null value to non-nullable type.
Tests dotnet 9: src/Core/DynamicPortRuntimeVariableResolver.cs#L52
Converting null literal or possible null value to non-nullable type.
Tests dotnet 9: src/Core/Logger.cs#L58
Cannot convert null literal to non-nullable reference type.
Tests dotnet 10: samples/MongoDb/UserRepositoryWithTransactionTests.cs#L33
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Tests dotnet 10: samples/MongoDb/UserRepositoryWithTransactionTests.cs#L30
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Tests dotnet 10: samples/MongoDb/UserRepositoryWithTransactionTests.cs#L29
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
Tests dotnet 10: src/SqlServer/SqlServerResource.cs#L59
Cannot convert null literal to non-nullable reference type.
Tests dotnet 10: src/Neo4j/Neo4jResource.cs#L37
Cannot convert null literal to non-nullable reference type.
Tests dotnet 10: src/SFtpServer/SFtpServerResource.cs#L39
Converting null literal or possible null value to non-nullable type.
Tests dotnet 10: src/Core/DynamicPortRuntimeVariableResolver.cs#L52
Converting null literal or possible null value to non-nullable type.
Tests dotnet 10: src/Core/TestcontainersDockerManager.cs#L49
'ContainerBuilder.ContainerBuilder()' is obsolete: 'This parameterless constructor is obsolete and will be removed. Use the constructor with the image parameter instead: https://github.com/testcontainers/testcontainers-dotnet/discussions/1470#discussioncomment-15185721.'
Tests dotnet 10: src/Core/VariableResolver.cs#L34
Converting null literal or possible null value to non-nullable type.
Tests dotnet 10: src/Core/Logger.cs#L58
Cannot convert null literal to non-nullable reference type.