diff --git a/libs/storage/Tsavorite/cs/test/DeltaLogTests.cs b/libs/storage/Tsavorite/cs/test/DeltaLogTests.cs index 8637dff556..d502fbd46d 100644 --- a/libs/storage/Tsavorite/cs/test/DeltaLogTests.cs +++ b/libs/storage/Tsavorite/cs/test/DeltaLogTests.cs @@ -78,7 +78,8 @@ public void DeltaLogTest1([Values] TestUtils.DeviceType deviceType) ClassicAssert.AreEqual(len, _len); for (int j = 0; j < len; j++) { - unsafe { ClassicAssert.AreEqual((byte)_len, *(byte*)(address + j)); }; + unsafe { ClassicAssert.AreEqual((byte)_len, *(byte*)(address + j)); } + ; } } ClassicAssert.AreEqual(TotalCount, i, $"i={i} and TotalCount={TotalCount}"); diff --git a/libs/storage/Tsavorite/cs/test/LockableUnsafeContextTests.cs b/libs/storage/Tsavorite/cs/test/LockableUnsafeContextTests.cs index f49401afb3..54e0452d30 100644 --- a/libs/storage/Tsavorite/cs/test/LockableUnsafeContextTests.cs +++ b/libs/storage/Tsavorite/cs/test/LockableUnsafeContextTests.cs @@ -1336,7 +1336,8 @@ void updater(int key, int iter) default: Assert.Fail($"Unexpected updateOp {updateOp}"); return; - }; + } + ; ClassicAssert.IsFalse(status.IsFaulted, $"Unexpected UpdateOp {updateOp}, status {status}"); } catch (Exception) @@ -1477,7 +1478,8 @@ void updater(int key, int iter) default: Assert.Fail($"Unexpected updateOp {updateOp}"); return; - }; + } + ; ClassicAssert.IsFalse(status.IsFaulted, $"Unexpected UpdateOp {updateOp}, status {status}"); lastUpdaterKeys[2] = key; } diff --git a/libs/storage/Tsavorite/cs/test/ReproReadCacheTest.cs b/libs/storage/Tsavorite/cs/test/ReproReadCacheTest.cs index 6881d5e9a1..dbacbc5332 100644 --- a/libs/storage/Tsavorite/cs/test/ReproReadCacheTest.cs +++ b/libs/storage/Tsavorite/cs/test/ReproReadCacheTest.cs @@ -78,7 +78,8 @@ public void Setup() kvSettings.ReadCachePageSize = 1L << 12; kvSettings.ReadCacheSecondChanceFraction = 0.1; kvSettings.ReadCacheEnabled = true; - }; + } + ; continue; } if (arg is DeviceType deviceType)