Skip to content
Snippets Groups Projects
Commit 490f75a1 authored by srosse's avatar srosse
Browse files

FXOLAT-207: make the unit test simpler for developement in Eclipse, add a profile for PostgreSQL

parent fdd86ff4
No related branches found
No related tags found
No related merge requests found
...@@ -1322,6 +1322,11 @@ ...@@ -1322,6 +1322,11 @@
<type>1</type> <type>1</type>
<location>${basedir}/target/${artifactId}-${project.version}/WEB-INF/classes/maven.build.properties</location> <location>${basedir}/target/${artifactId}-${project.version}/WEB-INF/classes/maven.build.properties</location>
</linkedResource> </linkedResource>
<linkedResource>
<name>/src/test/java/olat.local.properties</name>
<type>1</type>
<location>${basedir}/src/test/profile/mysql/olat.eclipse.properties</location>
</linkedResource>
</linkedResources> </linkedResources>
......
#########################
#
# This olat.local.properties file is only used when running junit tests! (Unit tests run in its own classpath environment)
# Use this file to set properties that affect or are a prerequisite for your tests.
#
#########################
defaultlang=de
db.show_sql=false
instance.id=2
generate.index.at.startup=false
# for UserTest
keepUserEmailAfterDeletion=true
keepUserLoginAfterDeletion=true
# do not run upgrades and scheduled jobs and such
cluster.singleton.services = disabled
jmx.rmi.port=1009
# SingleVM jms.broker.url
jms.broker.url=vm://embedded?broker.persistent=false
search.broker.url=vm://embedded?broker.persistent=false
codepoint.jms.broker.url=vm://embedded?broker.persistent=false
# Cluster (remote) jms.broker.url
#jms.broker.url=failover:(tcp://localhost:${test.env.jms.broker.port}?wireFormat.maxInactivityDuration=0)
#search.broker.url=failover:(tcp://localhost:${test.env.jms.broker.port}?wireFormat.maxInactivityDuration=0)
#codepoint.jms.broker.url=failover:(tcp://localhost:${test.env.jms.broker.port}?wireFormat.maxInactivityDuration=0)
# enable/disable codepoint/breakpoint framework
codepoint_server.enabled=true
smtp.host=testing
#
#
# if you like to run your tests against mysql just uncomment the following. Please do not commit it!
#
db.vendor=mysql
db.name=olattest
db.user=olat
db.pass=olat
db.host.port=3306
db.database.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
db.hibernate.ddl.auto=
#########################
#
# This olat.local.properties file is only used when running junit tests! (Unit tests run in its own classpath environment)
# Use this file to set properties that affect or are a prerequisite for your tests.
#
#########################
defaultlang=de
db.show_sql=false
instance.id=2
generate.index.at.startup=false
# for UserTest
keepUserEmailAfterDeletion=true
keepUserLoginAfterDeletion=true
# do not run upgrades and scheduled jobs and such
cluster.singleton.services = disabled
jmx.rmi.port=1009
# SingleVM jms.broker.url
jms.broker.url=vm://embedded?broker.persistent=false
search.broker.url=vm://embedded?broker.persistent=false
codepoint.jms.broker.url=vm://embedded?broker.persistent=false
# Cluster (remote) jms.broker.url
#jms.broker.url=failover:(tcp://localhost:${test.env.jms.broker.port}?wireFormat.maxInactivityDuration=0)
#search.broker.url=failover:(tcp://localhost:${test.env.jms.broker.port}?wireFormat.maxInactivityDuration=0)
#codepoint.jms.broker.url=failover:(tcp://localhost:${test.env.jms.broker.port}?wireFormat.maxInactivityDuration=0)
# enable/disable codepoint/breakpoint framework
codepoint_server.enabled=true
smtp.host=testing
#
#
# if you like to run your tests against mysql just uncomment the following. Please do not commit it!
#
db.vendor=postgresql
db.name=olattest
db.user=postgres
db.pass=postgres
db.host.port=5432
db.database.dialect=org.hibernate.dialect.PostgreSQLDialect
db.hibernate.ddl.auto=
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment