Scoped cache broken due to operator== ABA problem #423
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / test results (mac net6.0)
failed
Oct 14, 2023 in 1s
770 passed, 1 failed and 0 skipped
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
BitFaster.Caching.UnitTests/TestResults/results.trx | 770✔️ | 1❌ | 56s |
Annotations
Check failure on line 18 in BitFaster.Caching.UnitTests/Disposable.cs
github-actions / test results (mac net6.0)
BitFaster.Caching.UnitTests.ScopedTests ► WhenSoak2
Failed test found in:
BitFaster.Caching.UnitTests/TestResults/results.trx
Error:
Expected this.IsDisposed to be false, but found True.
Raw output
Expected this.IsDisposed to be false, but found True.
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Primitives.BooleanAssertions`1.BeFalse(String because, Object[] becauseArgs)
at BitFaster.Caching.UnitTests.Disposable.Dispose() in /Users/runner/work/BitFaster.Caching/BitFaster.Caching/BitFaster.Caching.UnitTests/Disposable.cs:line 18
at BitFaster.Caching.Scoped`1.DecrementReferenceCount() in /_/BitFaster.Caching/Scoped.cs:line 87
at BitFaster.Caching.Lifetime`1.Dispose() in /_/BitFaster.Caching/Lifetime.cs:line 46
at BitFaster.Caching.UnitTests.ScopedTests.<>c__DisplayClass7_0.<WhenSoak2>b__0() in /Users/runner/work/BitFaster.Caching/BitFaster.Caching/BitFaster.Caching.UnitTests/ScopedTests.cs:line 127
at BitFaster.Caching.UnitTests.Threaded.<>c__DisplayClass0_0.<Run>b__0(Int32 i) in /Users/runner/work/BitFaster.Caching/BitFaster.Caching/BitFaster.Caching.UnitTests/Threaded.cs:line 14
at BitFaster.Caching.UnitTests.Threaded.<>c__DisplayClass1_1.<Run>b__0() in /Users/runner/work/BitFaster.Caching/BitFaster.Caching/BitFaster.Caching.UnitTests/Threaded.cs:line 28
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at BitFaster.Caching.UnitTests.Threaded.Run(Int32 threadCount, Action`1 action) in /Users/runner/work/BitFaster.Caching/BitFaster.Caching/BitFaster.Caching.UnitTests/Threaded.cs:line 34
at BitFaster.Caching.UnitTests.ScopedTests.WhenSoak2() in /Users/runner/work/BitFaster.Caching/BitFaster.Caching/BitFaster.Caching.UnitTests/ScopedTests.cs:line 121
--- End of stack trace from previous location ---
Loading