diff --git a/playground/ClusterStress/OnlineReqGen.cs b/playground/ClusterStress/OnlineReqGen.cs index d492e4014..19cb58dc8 100644 --- a/playground/ClusterStress/OnlineReqGen.cs +++ b/playground/ClusterStress/OnlineReqGen.cs @@ -3,7 +3,6 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Runtime.CompilerServices; using System.Text; @@ -77,7 +76,7 @@ public byte[] GenerateKeyBytes(out int slot) byte[] keyBytes = GetClusterKeyBytes(key); #if DEBUG int _slot = Garnet.common.NumUtils.HashSlot(keyBytes); - Debug.Assert(_slot == slot, $"GenerateKeyBytes slot number incosistence {_slot}:{slot}"); + System.Diagnostics.Debug.Assert(_slot == slot, $"GenerateKeyBytes slot number incosistence {_slot}:{slot}"); #endif return keyBytes; } @@ -89,7 +88,7 @@ public string GenerateKey(out int slot) byte[] keyBytes = GetClusterKeyBytes(key); #if DEBUG int _slot = Garnet.common.NumUtils.HashSlot(keyBytes); - Debug.Assert(_slot == slot, $"GenerateKeyBytes slot number incosistence {_slot}:{slot}"); + System.Diagnostics.Debug.Assert(_slot == slot, $"GenerateKeyBytes slot number incosistence {_slot}:{slot}"); #endif return Encoding.ASCII.GetString(keyBytes); }