Skip to content

Commit d6631b2

Browse files
authored
Adapt performance test to new gha runner (#2007)
1 parent 584f4fd commit d6631b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

backend/FwLite/LcmCrdt.Tests/MiniLcmTests/QueryEntryTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ public async Task QueryPerformanceTesting(int count)
6767
var timePerEntry = queryTime / count;
6868
outputHelper.WriteLine(
6969
$"Total query time: {queryTime.TotalMilliseconds}ms, time per entry: {timePerEntry.TotalMicroseconds}microseconds");
70-
timePerEntry.TotalMicroseconds.Should().BeLessThan(1);//on my machine I got 0.2, so this is a safe margin
70+
//Kevin H: 1 -- on my machine I got 0.2, so this is a safe margin
71+
//Tim H: 1.3 -- bumped, because on CI we got 1 and then 1.1 (new gha Windows runner)
72+
timePerEntry.TotalMicroseconds.Should().BeLessThan(1.3);
7173
}
7274

7375
public override async Task DisposeAsync()

0 commit comments

Comments
 (0)