Skip to content

Commit

Permalink
system-test: Enable automatic schema management for replicamanager
Browse files Browse the repository at this point in the history
Motivation:

A recent patch limited the schema creation for system-test to those
services that have automatic schema management enabled. Thus the
replicamanager service now fails because the schema isn't precreated.

Modification:

Enable automatic schema management for the replicamanager when used
with hsqldb.

Result:

system-test works.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>

Reviewed at https://rb.dcache.org/r/9368/
  • Loading branch information
gbehrmann committed Jun 7, 2016
1 parent b9792c7 commit abdae03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions plugins/hsqldb/src/main/skel/hsqldb.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pinmanager.db.url = jdbc:hsqldb:file:${hsqldb.path}/${pinmanager.db.name};shutdo

replica.db.url = jdbc:hsqldb:file:${hsqldb.path}/${replica.db.name};shutdown=true;hsqldb.tx=mvcc;hsqldb.sqllog=3
replica.db.schema.changelog=org/dcache/hsqldb/changelog/replica-master.xml
replica.db.schema.auto = true

spacemanager.db.url = jdbc:hsqldb:file:${hsqldb.path}/${spacemanager.db.name};shutdown=true;hsqldb.tx=mvcc;hsqldb.sqllog=3

Expand Down
2 changes: 1 addition & 1 deletion skel/share/defaults/replica.properties
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ replica.db.user = ${dcache.db.user}
replica.db.password = ${dcache.db.password}
replica.db.password.file = ${dcache.db.password.file}
replica.db.url=jdbc:postgresql://${replica.db.host}/${replica.db.name}
(immutable)replica.db.schema.auto=false
replica.db.schema.auto=false
replica.db.schema.changelog=

0 comments on commit abdae03

Please sign in to comment.