Path: redb/redb.Tests.Integration/Tests/SqlitePro/SqliteProListReadPropsOnceTests.cs Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Tests.Integration/Tests/SqlitePro/SqliteProListReadPropsOnceTests.cs ---- using Microsoft.Extensions.DependencyInjection; using redb.Core.Extensions; using redb.Core.Pro.Extensions; using redb.SQLite.Pro.Extensions; using redb.Tests.Integration.Tests.Base; namespace redb.Tests.Integration.Tests.SqlitePro; public class SqliteProListReadPropsOnceTests : ListReadPropsOnceTestsBase { private const string Cs = "Data Source=redb_tests_once_pro.db"; private bool _prepared; protected override void Register(IServiceCollection services, Action configure) => services.AddRedbPro(configure); protected override void UseProvider(RedbOptionsBuilder options) { // A fresh file per test, shared by every provider the test builds (its own and the writer's). Deleted per // provider, the file went away under the open connection of the first one wherever an open file can be // deleted (Linux), and the writer wrote into a new file the reader never saw. if (!_prepared) { Fixtures.SqliteTestSupport.DeleteDbFiles(Cs); _prepared = true; } options.UseSqlite(Cs); } }