Skip to content

Commit

Permalink
Code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCiliaVincenti committed Jul 21, 2024
1 parent eb84e50 commit 6227379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AsyncKeyedLock.Tests/AsyncKeyedLocker/OriginalTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public void IsInUseRaceConditionCoverage()
[Fact]
public void IsInUseKeyChangeRaceConditionCoverage()
{
var asyncKeyedLocker = new AsyncKeyedLocker<string>(o => o.PoolSize = 1);
var asyncKeyedLocker = new AsyncKeyedLocker<string>(o => o.PoolSize = 0);
var releaser = asyncKeyedLocker._dictionary._pool.GetObject("test");
asyncKeyedLocker._dictionary._pool.PutObject(releaser);
asyncKeyedLocker.Lock("test");
Expand Down

0 comments on commit 6227379

Please sign in to comment.