Added Test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/infrastructure-tests@124384 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7585b2c72a
commit
5e07a8aaf3
6
pom.xml
6
pom.xml
|
@ -37,6 +37,12 @@
|
|||
<version>[1.0.1-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.reflections</groupId>
|
||||
<artifactId>reflections</artifactId>
|
||||
<version>0.9.10</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.gcube.data.publishing</groupId>
|
||||
<artifactId>document-store-lib-couchdb</artifactId>
|
||||
|
|
|
@ -24,16 +24,14 @@ public class AccountingTest extends ScopedTest {
|
|||
@Before
|
||||
public void before() throws Exception {
|
||||
super.before();
|
||||
AccountingPersistenceFactory.setFallbackLocation("./src/test/resources");
|
||||
AccountingPersistenceFactory.setFallbackLocation("src/test/resources");
|
||||
accountingPersistence = AccountingPersistenceFactory.getPersistence();
|
||||
}
|
||||
|
||||
@Test
|
||||
//@Test
|
||||
public void testAccounting() throws Exception {
|
||||
logger.trace("Let See");
|
||||
|
||||
Thread.sleep(1000*60*10);
|
||||
|
||||
Thread.sleep(1000*60*3);
|
||||
logger.trace("Finished");
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@ public class ScopedTest {
|
|||
public void before() throws Exception{
|
||||
//SecurityTokenProvider.instance.set(TestUtility.TOKEN);
|
||||
ScopeProvider.instance.set("/gcube/devsec");
|
||||
ScopeProvider.instance.set("/gcube/devNext");
|
||||
}
|
||||
|
||||
@After
|
||||
|
|
Loading…
Reference in New Issue