diff options
author | Olivier Lamy <olamy@apache.org> | 2012-05-29 10:04:32 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-05-29 10:04:32 +0000 |
commit | 6c6987cc125bc76abc70bf9d9413fc15d89ed562 (patch) | |
tree | 5a36a0e59823ec2227e032b6d14ab67dd57cc630 /redback-data-management/src | |
parent | da70abb2c1f93659aa19aa157898dfb5e03e29db (diff) | |
download | archiva-6c6987cc125bc76abc70bf9d9413fc15d89ed562.tar.gz archiva-6c6987cc125bc76abc70bf9d9413fc15d89ed562.zip |
use only derby in memory for test
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1343640 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'redback-data-management/src')
-rw-r--r-- | redback-data-management/src/test/resources/org/apache/archiva/redback/config-defaults.properties | 5 | ||||
-rw-r--r-- | redback-data-management/src/test/resources/spring-context.xml | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/redback-data-management/src/test/resources/org/apache/archiva/redback/config-defaults.properties b/redback-data-management/src/test/resources/org/apache/archiva/redback/config-defaults.properties index 6409f97cb..63902ad11 100644 --- a/redback-data-management/src/test/resources/org/apache/archiva/redback/config-defaults.properties +++ b/redback-data-management/src/test/resources/org/apache/archiva/redback/config-defaults.properties @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. -jdbc.url=jdbc:derby:target/database;create=true + # -------------------------------------------------------------------- @@ -25,8 +25,9 @@ application.timestamp=EEE d MMM yyyy HH:mm:ss Z # -------------------------------------------------------------------- # JDBC Setup - +jdbc.url=jdbc:derby:memory:users-tests;create=true jdbc.driver.name=org.apache.derby.jdbc.EmbeddedDriver + jdbc.username=sa jdbc.password= diff --git a/redback-data-management/src/test/resources/spring-context.xml b/redback-data-management/src/test/resources/spring-context.xml index 5125b40ca..ae1f6f998 100644 --- a/redback-data-management/src/test/resources/spring-context.xml +++ b/redback-data-management/src/test/resources/spring-context.xml @@ -31,7 +31,7 @@ <bean name="jdoFactory#users" class="org.apache.archiva.redback.common.jdo.UserConfigurableJdoFactory"> <property name="config" ref="userConfiguration"/> <property name="driverName" value="org.apache.derby.jdbc.EmbeddedDriver"/> - <property name="url" value="jdbc:derby:${basedir}/target" /> + <property name="url" value="jdbc:derby:memory:users-test" /> <property name="userName" value="sa"/> <property name="password" value=""/> </bean> |