Skip to content

Update nuget non-major dependencies #257

Update nuget non-major dependencies

Update nuget non-major dependencies #257

Triggered via pull request October 13, 2023 16:51
Status Failure
Total duration 1m 30s
Artifacts

dotnet-test.yml

on: pull_request
Matrix: Run dotnet build and test
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 8 warnings
Run dotnet build and test (macos-latest): src/App.IntegrationTests/Implementation/PdfService/PdfServiceTests2.cs#L29
Test methods must 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)
Run dotnet build and test (macos-latest): src/App.IntegrationTests/Implementation/PdfService/PdfServiceTests1.cs#L29
Test methods must 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)
Run dotnet build and test (macos-latest): src/App.IntegrationTests/Implementation/PdfService/PdfServiceTest3.cs#L29
Test methods must 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)
Run dotnet build and test (macos-latest): src/App.IntegrationTests/Implementation/PdfService/PdfServiceTests2.cs#L29
Test methods must 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)
Run dotnet build and test (macos-latest): src/App.IntegrationTests/Implementation/PdfService/PdfServiceTests1.cs#L29
Test methods must 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)
Run dotnet build and test (macos-latest): src/App.IntegrationTests/Implementation/PdfService/PdfServiceTest3.cs#L29
Test methods must 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)
Run dotnet build and test (macos-latest)
Process completed with exit code 1.
Run dotnet build and test (windows-latest)
The job was canceled because "macos-latest" failed.
Run dotnet build and test (windows-latest)
The operation was canceled.
Run dotnet build and test (macos-latest): src/App.IntegrationTests/Mocks/Services/DataMockSI.cs#L91
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.
Run dotnet build and test (macos-latest): src/App.IntegrationTests/Mocks/Services/DataMockSI.cs#L204
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.
Run dotnet build and test (macos-latest): src/App.IntegrationTests/Mocks/Services/DataMockSI.cs#L231
'IAppResources.GetApplication()' is obsolete: 'GetApplication is scheduled for removal. Use Altinn.App.Core.Internal.App.IAppMetadata.GetApplicationMetadata instead'
Run dotnet build and test (macos-latest): src/App.IntegrationTests/ApiTests/ProcessApiTest.cs#L171
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)
Run dotnet build and test (macos-latest): src/App.IntegrationTests/Mocks/Services/DataMockSI.cs#L91
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.
Run dotnet build and test (macos-latest): src/App.IntegrationTests/Mocks/Services/DataMockSI.cs#L204
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.
Run dotnet build and test (macos-latest): src/App.IntegrationTests/Mocks/Services/DataMockSI.cs#L231
'IAppResources.GetApplication()' is obsolete: 'GetApplication is scheduled for removal. Use Altinn.App.Core.Internal.App.IAppMetadata.GetApplicationMetadata instead'
Run dotnet build and test (macos-latest): src/App.IntegrationTests/ApiTests/ProcessApiTest.cs#L171
Do not use Assert.True(false, message) to fail a test. Use Assert.Fail(message) instead. (https://xunit.net/xunit.analyzers/rules/xUnit2020)