-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Test VectorIndex_HandlesVectorsSpanningMultipleDataBlocks_PersistedUpdate seems to be flaky. Need to look into it - seems like the test itself is borked
https://github.com/litedb-org/LiteDB/actions/runs/18365794709/job/52318344767?pr=2708
2025-10-09T04:47:17.7418883Z Failed LiteDB.Tests.QueryTest.VectorIndex_Tests.VectorIndex_HandlesVectorsSpanningMultipleDataBlocks_PersistedUpdate [983 ms]
2025-10-09T04:47:17.7419556Z Error Message:
2025-10-09T04:47:17.7419876Z Expected mapped.Id to be 2, but found 12 (difference of 10).
2025-10-09T04:47:17.7420218Z Stack Trace:
2025-10-09T04:47:17.7420587Z at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
2025-10-09T04:47:17.7421165Z at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
2025-10-09T04:47:17.7421803Z at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
2025-10-09T04:47:17.7422696Z at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
2025-10-09T04:47:17.7423353Z at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
2025-10-09T04:47:17.7424037Z at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
2025-10-09T04:47:17.7424827Z at FluentAssertions.Numeric.NumericAssertions`2.Be(T expected, String because, Object[] becauseArgs)
2025-10-09T04:47:17.7426094Z at LiteDB.Tests.QueryTest.VectorIndex_Tests.VectorIndex_HandlesVectorsSpanningMultipleDataBlocks_PersistedUpdate() in /home/runner/work/LiteDB/LiteDB/LiteDB.Tests/Query/VectorIndex_Tests.cs:line 921
2025-10-09T04:47:17.7427844Z at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
2025-10-09T04:47:17.7428704Z at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)