During work on #2817, a full test-project run emitted an intermittent failure from CodeIndex.Tests.ConcurrencyTests.GetStatus_ReferencesAndFilesStaySnapshotConsistent_UnderConcurrentWriter with SQLite Error 1: 'SQL logic error' in DbContext.TryMigrateForRead.
Observed command:
dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --no-build --no-restore
The targeted rerun passed for both net8.0 and net9.0:
dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --no-build --no-restore --filter FullyQualifiedName~ConcurrencyTests.GetStatus_ReferencesAndFilesStaySnapshotConsistent_UnderConcurrentWriter
This looks like a flaky concurrent SQLite/migration interaction rather than an issue #2817 test-file split regression.
During work on #2817, a full test-project run emitted an intermittent failure from
CodeIndex.Tests.ConcurrencyTests.GetStatus_ReferencesAndFilesStaySnapshotConsistent_UnderConcurrentWriterwithSQLite Error 1: 'SQL logic error'inDbContext.TryMigrateForRead.Observed command:
dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --no-build --no-restoreThe targeted rerun passed for both
net8.0andnet9.0:dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj --no-build --no-restore --filter FullyQualifiedName~ConcurrencyTests.GetStatus_ReferencesAndFilesStaySnapshotConsistent_UnderConcurrentWriterThis looks like a flaky concurrent SQLite/migration interaction rather than an issue #2817 test-file split regression.