protected override void AdditionalSetup() { _data = Prepare.Bytes(PackageSize); Task kronos = KronosClient.ClearAsync(); Task redis = RedisServer.FlushAllDatabasesAsync(); Task.WaitAll(kronos, redis); }
protected override void AdditionalSetup() { _data = Prepare.Bytes(PackageSize); Task kronos = KronosClient.ClearAsync(); Task[] redisTasks = RedisServers.Select(x => x.FlushAllDatabasesAsync()).ToArray(); Task.WaitAll(redisTasks); Task.WaitAll(kronos); }