public BulkProfileTests(ClientTestClusterBase cluster) { _client = cluster.Client; if (_client.IndexExists(IndexName).Exists) { _client.DeleteIndex(IndexName); } var createIndexResponse = _client.CreateIndex(IndexName); if (!createIndexResponse.IsValid) { Console.WriteLine($"invalid response creating index: {createIndexResponse.ServerError?.Error?.Reason}"); } }
protected IntegrationDocumentationTestBase(ClientTestClusterBase cluster) => _cluster = cluster;