Skip to content

Convert test suite to TUnit #31

Convert test suite to TUnit

Convert test suite to TUnit #31

Triggered via pull request January 6, 2025 11:24
@HawxyHawxy
synchronize #17
build2
Status Failure
Total duration 1m 7s
Artifacts

Build_&_Test.yml

on: pull_request
ubuntu-latest
56s
ubuntu-latest
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
ubuntu-latest
[xUnit.net 00:00:01.35] Fga.Net.Tests.Unit.ExtensionTests.InvalidConfiguration_ThrowsException(scenario: Empty Extension Config - Auth0 FGA) [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.36] Fga.Net.Tests.Unit.ExtensionTests.InvalidConfiguration_ThrowsException(scenario: Empty Schema) [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.37] Fga.Net.Tests.Unit.ExtensionTests.InvalidConfiguration_ThrowsException(scenario: Empty API Key) [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.37] Fga.Net.Tests.Unit.ExtensionTests.InvalidConfiguration_ThrowsException(scenario: Empty OIDC configuration) [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.64] Fga.Net.Tests.Unit.ExtensionTests.InvalidConfiguration_ThrowsException(scenario: Empty Extension Config - Auth0 FGA) [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.65] Fga.Net.Tests.Unit.ExtensionTests.InvalidConfiguration_ThrowsException(scenario: Empty Schema) [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.65] Fga.Net.Tests.Unit.ExtensionTests.InvalidConfiguration_ThrowsException(scenario: Empty API Key) [FAIL]
ubuntu-latest
[xUnit.net 00:00:01.66] Fga.Net.Tests.Unit.ExtensionTests.InvalidConfiguration_ThrowsException(scenario: Empty OIDC configuration) [FAIL]
ubuntu-latest
Target "Test" has thrown an exception
ubuntu-latest
Process completed with exit code 255.
ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/FgaConfigurationBuilder.cs(52,27): warning CS1574: XML comment has cref attribute 'MaxRetry' that could not be resolved [/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/Fga.Net.DependencyInjection.csproj::TargetFramework=net9.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/FgaConfigurationBuilder.cs(60,27): warning CS1574: XML comment has cref attribute 'MinWaitInMs' that could not be resolved [/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/Fga.Net.DependencyInjection.csproj::TargetFramework=net9.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/FgaConfigurationBuilder.cs(69,27): warning CS1574: XML comment has cref attribute 'Telemetry' that could not be resolved [/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/Fga.Net.DependencyInjection.csproj::TargetFramework=net9.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/FgaConfigurationBuilder.cs(52,27): warning CS1574: XML comment has cref attribute 'MaxRetry' that could not be resolved [/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/Fga.Net.DependencyInjection.csproj::TargetFramework=net8.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/FgaConfigurationBuilder.cs(60,27): warning CS1574: XML comment has cref attribute 'MinWaitInMs' that could not be resolved [/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/Fga.Net.DependencyInjection.csproj::TargetFramework=net8.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/FgaConfigurationBuilder.cs(69,27): warning CS1574: XML comment has cref attribute 'Telemetry' that could not be resolved [/home/runner/work/Fga.Net/Fga.Net/src/Fga.Net/Fga.Net.DependencyInjection.csproj::TargetFramework=net8.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/tests/Fga.Net.Tests/Client/EndpointTests.cs(75,36): warning xUnit1051: 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) [/home/runner/work/Fga.Net/Fga.Net/tests/Fga.Net.Tests/Fga.Net.Tests.csproj::TargetFramework=net8.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/tests/Fga.Net.Tests/Client/EndpointTests.cs(83,35): warning xUnit1051: 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) [/home/runner/work/Fga.Net/Fga.Net/tests/Fga.Net.Tests/Fga.Net.Tests.csproj::TargetFramework=net8.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/tests/Fga.Net.Tests/Client/EndpointTests.cs(88,32): warning xUnit1051: 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) [/home/runner/work/Fga.Net/Fga.Net/tests/Fga.Net.Tests/Fga.Net.Tests.csproj::TargetFramework=net8.0]
ubuntu-latest
/home/runner/work/Fga.Net/Fga.Net/tests/Fga.Net.Tests/Client/EndpointTests.cs(98,27): warning xUnit1051: 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) [/home/runner/work/Fga.Net/Fga.Net/tests/Fga.Net.Tests/Fga.Net.Tests.csproj::TargetFramework=net8.0]