Skip to content
Snippets Groups Projects
Commit 3ee088da authored by Neelesh Thakur's avatar Neelesh Thakur
Browse files

debug statements

parent a0ab2f09
No related branches found
No related tags found
1 merge request!170enable indexing of audit-trail attributes
Pipeline #59280 failed
......@@ -152,6 +152,7 @@ public class RecordSteps extends TestsBase {
public void i_can_validate_indexed_attributes(String index, String kind) throws Throwable {
String authority = tenantMap.get(kind.substring(0, kind.indexOf(":")));
index = generateActualName(index, timeStamp);
log.log(Level.INFO, String.format("Search by authority: %s", authority));
List<Map<String, Object>> hits = elasticUtils.fetchRecordsByAttribute(index, "authority", authority);
assertTrue(hits.size() > 0);
......
......@@ -11,7 +11,7 @@ public class GcpElasticUtils extends ElasticUtils {
@Override
public void deleteIndex(String index) {
indexerClientUtil.deleteIndex(convertIndexToKindName(index));
// indexerClientUtil.deleteIndex(convertIndexToKindName(index));
}
private String convertIndexToKindName(String index) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment