fixing test

This commit is contained in:
Luca Frosini 2021-11-22 15:55:20 +01:00
parent 6752b45644
commit 24e092c52f
1 changed files with 9 additions and 9 deletions

View File

@ -220,15 +220,6 @@ public class AccountingPersistenceQueryPostgreSQLTest extends ContextTest {
}
}
@Test
public void storageStatusTest() throws Exception {
accountingPersistenceQueryPostgreSQL.setRequestedRecords(AggregatedStorageStatusRecord.class);
Collection<NumberedFilter> myFilters = accountingPersistenceQueryPostgreSQL.getFilterValues(AggregatedStorageStatusRecord.DATA_TYPE);
accountingPersistenceQueryPostgreSQL.setFilters(myFilters);
accountingPersistenceQueryPostgreSQL.setTemporalConstraint(getTemporalConstraint());
accountingPersistenceQueryPostgreSQL.getTimeSeries();
}
@Test
public void testTopValues() throws DuplicatedKeyFilterException, KeyException, ValueException, Exception {
String orderingProperty = AccountingPersistenceQuery.getDefaultOrderingProperties(AggregatedServiceUsageRecord.class);
@ -261,6 +252,15 @@ public class AccountingPersistenceQueryPostgreSQLTest extends ContextTest {
logger.debug("{}", record);
}
@Test
public void storageStatusTest() throws Exception {
accountingPersistenceQueryPostgreSQL.setRequestedRecords(AggregatedStorageStatusRecord.class);
Collection<NumberedFilter> myFilters = accountingPersistenceQueryPostgreSQL.getFilterValues(AggregatedStorageStatusRecord.DATA_TYPE);
accountingPersistenceQueryPostgreSQL.setFilters(myFilters);
accountingPersistenceQueryPostgreSQL.setTemporalConstraint(getTemporalConstraint());
accountingPersistenceQueryPostgreSQL.getTimeSeries();
}
@Test
public void testGetSpaceTimeSeries() throws DuplicatedKeyFilterException, KeyException, ValueException, Exception {