Publish AoT for test on macOS #2714
Annotations
7 errors and 1 warning
_/test/Polly.Extensions.Tests/Issues/IssuesTests.PartitionedRateLimiter_1365.cs#L77
Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(Polly.RateLimiting.RateLimiterRejectedException)
Actual: typeof(System.IndexOutOfRangeException)
---- System.IndexOutOfRangeException : Index was outside the bounds of the array.
|
_/test/Polly.Extensions.Tests/Issues/IssuesTests.OnCircuitBreakWithServiceProvider_796.cs#L49
System.IndexOutOfRangeException : Index was outside the bounds of the array.
|
|
Expected a <System.Net.Sockets.SocketException> to be thrown, but found <System.IndexOutOfRangeException>:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.List`1.Add(T item)
at Polly.TestUtils.TestUtilities.<>c__DisplayClass6_0.<EnablePollyMetering>g__OnMeasurementRecorded|0[T](Instrument instrument, T measurement, ReadOnlySpan`1 tags, Object stateObj) in /_/test/Polly.TestUtils/TestUtilities.cs:line 83
at System.Diagnostics.Metrics.MeterListener.NotifyMeasurement[T](Instrument instrument, T measurement, ReadOnlySpan`1 tags, Object state)
at System.Diagnostics.Metrics.Instrument`1.RecordMeasurement(T measurement, ReadOnlySpan`1 tags)
at Polly.Telemetry.TelemetryListenerImpl.MeterEvent[TResult,TArgs](TelemetryEventArguments`2& args) in /_/src/Polly.Extensions/Telemetry/TelemetryListenerImpl.cs:line 143
at Polly.Telemetry.TelemetryListenerImpl.Write[TResult,TArgs](TelemetryEventArguments`2& args) in /_/src/Polly.Extensions/Telemetry/TelemetryListenerImpl.cs:line 57
at Polly.Telemetry.ResilienceStrategyTelemetry.Report[TArgs](ResilienceEvent resilienceEvent, ResilienceContext context, TArgs args) in /_/src/Polly.Core/Telemetry/ResilienceStrategyTelemetry.cs:line 42
at Polly.Utils.Pipeline.CompositeComponent.<ExecuteCoreWithTelemetry>d__13`2.MoveNext() in /_/src/Polly.Core/Utils/Pipeline/CompositeComponent.cs:line 107
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Threading.Tasks.ValueTask`1.get_Result()
at Polly.Utils.Pipeline.ExecutionTrackingComponent.<ExecuteCore>d__10`2.MoveNext() in /_/src/Polly.Core/Utils/Pipeline/ExecutionTrackingComponent.cs:line 31
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Threading.Tasks.ValueTask`1.get_Result()
at Polly.Utils.TaskHelper.GetResult[TResult](ValueTask`1 task) in /_/src/Polly.Core/Utils/TaskHelper.cs:line 32
at Polly.Utils.Pipeline.PipelineComponent.ExecuteCoreSync[TResult,TState](Func`3 callback, ResilienceContext context, TState state) in /_/src/Polly.Core/Utils/Pipeline/PipelineComponent.cs:line 25
at Polly.ResiliencePipeline.Execute(Action callback) in /_/src/Polly.Core/ResiliencePipeline.Sync.cs:line 206
at Polly.Extensions.Tests.Issues.IssuesTests.<>c__DisplayClass6_0.<OverrideLibraryStrategies_1072>b__2(LibraryApi a) in /_/test/Polly.Extensions.Tests/Issues/IssuesTests.OverrideLibraryStrategies_1072.cs:line 49
at FluentAssertions.Specialized.DelegateAssertions`2.InvokeSubjectWithInterception().
|
Did not expect any exception, but found System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.List`1.Add(T item)
at Polly.TestUtils.TestUtilities.<>c__DisplayClass6_0.<EnablePollyMetering>g__OnMeasurementRecorded|0[T](Instrument instrument, T measurement, ReadOnlySpan`1 tags, Object stateObj) in /_/test/Polly.TestUtils/TestUtilities.cs:line 83
at System.Diagnostics.Metrics.MeterListener.NotifyMeasurement[T](Instrument instrument, T measurement, ReadOnlySpan`1 tags, Object state)
at System.Diagnostics.Metrics.Instrument`1.RecordMeasurement(T measurement, ReadOnlySpan`1 tags)
at Polly.Telemetry.TelemetryListenerImpl.MeterEvent[TResult,TArgs](TelemetryEventArguments`2& args) in /_/src/Polly.Extensions/Telemetry/TelemetryListenerImpl.cs:line 143
at Polly.Telemetry.TelemetryListenerImpl.Write[TResult,TArgs](TelemetryEventArguments`2& args) in /_/src/Polly.Extensions/Telemetry/TelemetryListenerImpl.cs:line 57
at Polly.Telemetry.ResilienceStrategyTelemetry.Report[TArgs](ResilienceEvent resilienceEvent, ResilienceContext context, TArgs args) in /_/src/Polly.Core/Telemetry/ResilienceStrategyTelemetry.cs:line 42
at Polly.Utils.Pipeline.CompositeComponent.<ExecuteCoreWithTelemetry>d__13`2.MoveNext() in /_/src/Polly.Core/Utils/Pipeline/CompositeComponent.cs:line 107
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Threading.Tasks.ValueTask`1.get_Result()
at Polly.Utils.Pipeline.ExecutionTrackingComponent.<ExecuteCore>d__10`2.MoveNext() in /_/src/Polly.Core/Utils/Pipeline/ExecutionTrackingComponent.cs:line 31
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Threading.Tasks.ValueTask`1.get_Result()
at Polly.Utils.TaskHelper.GetResult[TResult](ValueTask`1 task) in /_/src/Polly.Core/Utils/TaskHelper.cs:line 32
at Polly.Utils.Pipeline.PipelineComponent.ExecuteCoreSync[TResult,TState](Func`3 callback, ResilienceContext context, TState state) in /_/src/Polly.Core/Utils/Pipeline/PipelineComponent.cs:line 25
at Polly.ResiliencePipeline.Execute(Action callback) in /_/src/Polly.Core/ResiliencePipeline.Sync.cs:line 206
at Polly.Extensions.Tests.Issues.IssuesTests.<>c__DisplayClass6_0.<OverrideLibraryStrategies_1072>b__1(LibraryApi a) in /_/test/Polly.Extensions.Tests/Issues/IssuesTests.OverrideLibraryStrategies_1072.cs:line 43
at FluentAssertions.Specialized.DelegateAssertions`2.InvokeSubjectWithInterception().
|
_/test/Polly.Extensions.Tests/Issues/IssuesTests.StrategiesPerEndpoint_1365.cs#L100
System.IndexOutOfRangeException : Index was outside the bounds of the array.
|
|
|
The logs for this run have expired and are no longer available.
Loading