Skip to content

Commit f0cc310

Browse files
author
Alex Peck
committed
fix test
1 parent 8ad52ad commit f0cc310

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

BitFaster.Caching.UnitTests/Lfu/ConcurrentLfuBuilderTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ public class ConcurrentLfuBuilderTests
1212
[Fact]
1313
public void TestConcurrencyLevel()
1414
{
15+
// on .net9, -1 indicates the default concurrency level
1516
var b = new ConcurrentLfuBuilder<int, int>()
16-
.WithConcurrencyLevel(-1);
17+
.WithConcurrencyLevel(-2);
1718

1819
Action constructor = () => { var x = b.Build(); };
1920

0 commit comments

Comments
 (0)