minor fix

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/social-networking/social-data-indexing-common@132063 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-09-29 12:41:12 +00:00
parent 3838788052
commit cccb6275f4
1 changed files with 5 additions and 8 deletions

View File

@ -1,9 +1,6 @@
package org.gcube.socialnetworking.social_data_indexing_common;
import org.gcube.socialnetworking.social_data_indexing_common.utils.ElasticSearchRunningCluster;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@ -12,23 +9,23 @@ public class Tests {
/**
* Logger
*/
private static Logger _log = LoggerFactory.getLogger(Tests.class);
private static Logger logger = LoggerFactory.getLogger(Tests.class);
@Before
//@Before
public void beforeTest(){
// set security token
//SecurityTokenProvider.instance.set("");
}
@Test
//@Test
public void retrieveElasticSearchInformation() throws Exception{
ElasticSearchRunningCluster es = new ElasticSearchRunningCluster(null);
_log.debug("Result is " + es.getClusterName() + " " + es.getHosts() + " " + es.getPorts());
logger.debug("Result is " + es.getClusterName() + " " + es.getHosts() + " " + es.getPorts());
}
@After
//@After
public void after(){
}