Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
jodydonetti committed Oct 26, 2022
1 parent e51fae3 commit ee54aaa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/ZiggyCreatures.FusionCache.Tests/SingleLevelTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,8 @@ await Assert.ThrowsAnyAsync<OperationCanceledException>(async () =>
sw.Stop();

Assert.Equal(-1, res);
Assert.True(sw.ElapsedMilliseconds >= outerCancelDelayMs, "Elapsed is greater than outer cancel");
Assert.True(sw.ElapsedMilliseconds < factoryDelayMs, "Elapsed is less than factory delay");
Assert.True(sw.ElapsedMilliseconds >= outerCancelDelayMs, "Elapsed is less than outer cancel");
Assert.True(sw.ElapsedMilliseconds < factoryDelayMs, "Elapsed is not less than factory delay");
}
}

Expand All @@ -441,8 +441,8 @@ public void CancelingAnOperationActuallyCancelsIt()
sw.Stop();

Assert.Equal(-1, res);
Assert.True(sw.ElapsedMilliseconds >= outerCancelDelayMs, "Elapsed is greater than outer cancel");
Assert.True(sw.ElapsedMilliseconds < factoryDelayMs, "Elapsed is less than factory delay");
Assert.True(sw.ElapsedMilliseconds >= outerCancelDelayMs, "Elapsed is less than outer cancel");
Assert.True(sw.ElapsedMilliseconds < factoryDelayMs, "Elapsed is not less than factory delay");
}
}

Expand Down

0 comments on commit ee54aaa

Please sign in to comment.