Added test

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/infrastructure-tests@124267 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2016-02-17 16:04:32 +00:00
parent 5eec932c2b
commit 76e8d8418e
1 changed files with 4 additions and 1 deletions

View File

@ -19,7 +19,10 @@ public class PersistenceBackendFactoryTest {
@Test
public void parsingTest() throws Exception {
PersistenceBackendFactory.getPersistenceBackend(null);
PersistenceBackend persistenceBackend = PersistenceBackendFactory.getPersistenceBackend(null);
logger.debug("{}", persistenceBackend);
PersistenceBackendFactory.flushAll(100, TimeUnit.MILLISECONDS);
PersistenceBackendFactory.flush(null, 100, TimeUnit.MILLISECONDS);
persistenceBackend.flush(100, TimeUnit.MILLISECONDS);
}
}