From 64c1bafe0eb53e995c8bc71261baa1ac0bfd684c Mon Sep 17 00:00:00 2001 From: Kevin Hahn Date: Mon, 26 Aug 2024 14:56:23 +0700 Subject: [PATCH] use in memory db --- src/SIL.Harmony.Tests/DataModelPerformanceTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SIL.Harmony.Tests/DataModelPerformanceTests.cs b/src/SIL.Harmony.Tests/DataModelPerformanceTests.cs index cb02bfb..1cc0ea0 100644 --- a/src/SIL.Harmony.Tests/DataModelPerformanceTests.cs +++ b/src/SIL.Harmony.Tests/DataModelPerformanceTests.cs @@ -38,7 +38,7 @@ public void AddingChangePerformance() [Fact] public async Task SimpleAddChangePerformanceTest() { - var dataModelTest = new DataModelTestBase(new SqliteConnection("Data Source=test.db")); + var dataModelTest = new DataModelTestBase(); // warmup the code, this causes jit to run and keeps our actual test below consistent var word1Id = Guid.NewGuid(); await dataModelTest.WriteNextChange(dataModelTest.SetWord(word1Id, "entity 0"));