Added tests
This commit is contained in:
parent
e9eed9f889
commit
feefa712c4
|
@ -13,6 +13,7 @@ import org.gcube.accounting.aggregator.status.AggregationStatus;
|
|||
import org.gcube.accounting.aggregator.utility.Utility;
|
||||
import org.gcube.accounting.datamodel.usagerecords.ServiceUsageRecord;
|
||||
import org.gcube.documentstore.records.DSMapper;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
@ -27,11 +28,18 @@ public class PostgreSQLConnectorTest extends ContextTest {
|
|||
aggregatorPersistenceStatus = AggregatorPersistenceFactory.getAggregatorPersistenceStatus();
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
public void getAggregatorPersistenceDst() throws Exception {
|
||||
ContextTest.setContextByName(ROOT_PROD);
|
||||
AggregatorPersistenceDst dst = AggregatorPersistenceFactory.getAggregatorPersistenceDst();
|
||||
dst.commitAndClose();
|
||||
logger.debug("{}", dst);
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
public void getAggregatorPersistenceSrc() throws Exception {
|
||||
AggregatorPersistenceSrc src = AggregatorPersistenceFactory.getAggregatorPersistenceSrc();
|
||||
logger.debug("{}", src);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue