Skip to content

Use referencecollections over arrays #1679

Use referencecollections over arrays

Use referencecollections over arrays #1679

Triggered via pull request October 10, 2024 02:27
Status Failure
Total duration 7m 29s
Artifacts

main.yaml

on: pull_request
Build Octopus Clients
6m 59s
Build Octopus Clients
test-linux
0s
test-linux
Unit test on Mac OS
0s
Unit test on Mac OS
Build and test outcome
0s
Build and test outcome
Upload nuget packages to Octopus Deploy
0s
Upload nuget packages to Octopus Deploy
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 4 warnings
Octopus.Client.Tests.PublicSurfaceAreaFixture ► ThePublicSurfaceAreaShouldNotRegress: source/Octopus.Client.Tests/PublicSurfaceAreaFixture.cs#L45
Failed test found in: ./TestResults/Win_net462_20241010023236.trx Error: Assent.AssentFailedException : Strings differ at 283948. Received: String SuccessCallbackUri { get; set; } String TaskId { get; set; } } } Octopus.Client.Model.TenantVariables { class CommonVariableScope { .ctor(Octopus.Client.Model.ReferenceCollection) Octopus.Client.Model.ReferenceCollection EnvironmentIds { get; set; } } class ModifyCommonVariablesByTenantIdCommand { .ctor(String, String, Octopus.Client.Model.TenantVariables.Tenant Approved: String SuccessCallbackUri { get; set; } String TaskId { get; set; } } } Octopus.Client.Model.TenantVariables { class CommonVariableScope { .ctor(Octopus.Client.Model.ReferenceCollection[]) Octopus.Client.Model.ReferenceCollection EnvironmentIds { get; set; } } class ModifyCommonVariablesByTenantIdCommand { .ctor(String, String, Octopus.Client.Model.TenantVariables.Tena
Octopus.Client.Tests.PublicSurfaceAreaFixture ► ThePublicSurfaceAreaShouldNotRegress: source/Octopus.Client.Tests/PublicSurfaceAreaFixture.cs#L45
Failed test found in: ./TestResults/Win_net48_20241010023305.trx Error: Assent.AssentFailedException : Strings differ at 283948. Received: String SuccessCallbackUri { get; set; } String TaskId { get; set; } } } Octopus.Client.Model.TenantVariables { class CommonVariableScope { .ctor(Octopus.Client.Model.ReferenceCollection) Octopus.Client.Model.ReferenceCollection EnvironmentIds { get; set; } } class ModifyCommonVariablesByTenantIdCommand { .ctor(String, String, Octopus.Client.Model.TenantVariables.Tenant Approved: String SuccessCallbackUri { get; set; } String TaskId { get; set; } } } Octopus.Client.Model.TenantVariables { class CommonVariableScope { .ctor(Octopus.Client.Model.ReferenceCollection[]) Octopus.Client.Model.ReferenceCollection EnvironmentIds { get; set; } } class ModifyCommonVariablesByTenantIdCommand { .ctor(String, String, Octopus.Client.Model.TenantVariables.Tena
Build Octopus Clients
Failed test were found and 'fail-on-error' option is set to true
Build Octopus Clients
Failed test were found and 'fail-on-error' option is set to true
Build Octopus Clients
Target "Test" has thrown an exception
Build Octopus Clients
Process completed with exit code 1.
Build and test outcome
Process completed with exit code 1.
Build Octopus Clients
C:\Program Files\dotnet\sdk\8.0.403\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3243: No way to resolve conflict between "System.Net.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" and "System.Net.Http". Choosing "System.Net.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" arbitrarily. [D:\a\OctopusClients\OctopusClients\source\Octopus.Client.E2ETests\Octopus.Client.E2ETests.csproj::TargetFramework=net8.0]
Build Octopus Clients
C:\Program Files\dotnet\sdk\8.0.403\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3243: No way to resolve conflict between "System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" and "System.Net.Http". Choosing "System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" arbitrarily. [D:\a\OctopusClients\OctopusClients\source\Octopus.Client.E2ETests\Octopus.Client.E2ETests.csproj::TargetFramework=net6.0]
Build Octopus Clients
C:\Program Files\dotnet\sdk\8.0.403\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3243: No way to resolve conflict between "System.Net.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" and "System.Net.Http". Choosing "System.Net.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" arbitrarily. [D:\a\OctopusClients\OctopusClients\source\Octopus.Client.E2ETests\Octopus.Client.E2ETests.csproj::TargetFramework=net8.0]
Build Octopus Clients
C:\Program Files\dotnet\sdk\8.0.403\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3243: No way to resolve conflict between "System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" and "System.Net.Http". Choosing "System.Net.Http, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" arbitrarily. [D:\a\OctopusClients\OctopusClients\source\Octopus.Client.E2ETests\Octopus.Client.E2ETests.csproj::TargetFramework=net6.0]