public void Flush_Success() { var result = _bucketManager.Flush(); Assert.NotNull(result); Assert.True(result.Success); }
public void Flush_Success() { var result = _bucketManager.Flush(); Assert.NotNull(result); Assert.True(result.Success, "{0}-{1}", result.Message, result.Exception == null ? "" : result.Exception.ToString()); }
public static Task FlushAsync(this IBucketManager bucketManager, string bucketName, Action <FlushBucketOptions> configureOptions) { var options = new FlushBucketOptions(); configureOptions(options); return(bucketManager.Flush(bucketName, options)); }
public static Task FlushAsync(this IBucketManager bucketManager, string bucketName) { return(bucketManager.Flush(bucketName, FlushBucketOptions.Default)); }