From 24e092c52f2a3607c26c5294126f777f45792fc5 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Mon, 22 Nov 2021 15:55:20 +0100 Subject: [PATCH] fixing test --- ...countingPersistenceQueryPostgreSQLTest.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/test/java/org/gcube/accounting/analytics/persistence/postgresql/AccountingPersistenceQueryPostgreSQLTest.java b/src/test/java/org/gcube/accounting/analytics/persistence/postgresql/AccountingPersistenceQueryPostgreSQLTest.java index 545c395..7f2a365 100644 --- a/src/test/java/org/gcube/accounting/analytics/persistence/postgresql/AccountingPersistenceQueryPostgreSQLTest.java +++ b/src/test/java/org/gcube/accounting/analytics/persistence/postgresql/AccountingPersistenceQueryPostgreSQLTest.java @@ -220,15 +220,6 @@ public class AccountingPersistenceQueryPostgreSQLTest extends ContextTest { } } - @Test - public void storageStatusTest() throws Exception { - accountingPersistenceQueryPostgreSQL.setRequestedRecords(AggregatedStorageStatusRecord.class); - Collection 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 myFilters = accountingPersistenceQueryPostgreSQL.getFilterValues(AggregatedStorageStatusRecord.DATA_TYPE); + accountingPersistenceQueryPostgreSQL.setFilters(myFilters); + accountingPersistenceQueryPostgreSQL.setTemporalConstraint(getTemporalConstraint()); + accountingPersistenceQueryPostgreSQL.getTimeSeries(); + } + @Test public void testGetSpaceTimeSeries() throws DuplicatedKeyFilterException, KeyException, ValueException, Exception {