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>
|
<version>[1.0.1-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.reflections</groupId>
|
||||||
|
<artifactId>reflections</artifactId>
|
||||||
|
<version>0.9.10</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.data.publishing</groupId>
|
<groupId>org.gcube.data.publishing</groupId>
|
||||||
<artifactId>document-store-lib-couchdb</artifactId>
|
<artifactId>document-store-lib-couchdb</artifactId>
|
||||||
|
|
|
@ -24,16 +24,14 @@ public class AccountingTest extends ScopedTest {
|
||||||
@Before
|
@Before
|
||||||
public void before() throws Exception {
|
public void before() throws Exception {
|
||||||
super.before();
|
super.before();
|
||||||
AccountingPersistenceFactory.setFallbackLocation("./src/test/resources");
|
AccountingPersistenceFactory.setFallbackLocation("src/test/resources");
|
||||||
accountingPersistence = AccountingPersistenceFactory.getPersistence();
|
accountingPersistence = AccountingPersistenceFactory.getPersistence();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
//@Test
|
||||||
public void testAccounting() throws Exception {
|
public void testAccounting() throws Exception {
|
||||||
logger.trace("Let See");
|
logger.trace("Let See");
|
||||||
|
Thread.sleep(1000*60*3);
|
||||||
Thread.sleep(1000*60*10);
|
|
||||||
|
|
||||||
logger.trace("Finished");
|
logger.trace("Finished");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@ public class ScopedTest {
|
||||||
public void before() throws Exception{
|
public void before() throws Exception{
|
||||||
//SecurityTokenProvider.instance.set(TestUtility.TOKEN);
|
//SecurityTokenProvider.instance.set(TestUtility.TOKEN);
|
||||||
ScopeProvider.instance.set("/gcube/devsec");
|
ScopeProvider.instance.set("/gcube/devsec");
|
||||||
ScopeProvider.instance.set("/gcube/devNext");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@After
|
@After
|
||||||
|
|
Loading…
Reference in New Issue