Skip to content
Snippets Groups Projects
Commit dbb2776c authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #8899: Marshall postgres user to OTDB services

parent 6f3749eb
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ qpid-config add exchange topic $queue ...@@ -14,7 +14,7 @@ qpid-config add exchange topic $queue
# Setup a clean database with predefined content # Setup a clean database with predefined content
dropdb -U postgres -h ${DBHOST} unittest_db dropdb -U postgres -h ${DBHOST} unittest_db
gzip -dc $srcdir/unittest_db.dump.gz | psql -U postgres -h ${DBHOST} -f - gzip -dc $srcdir/unittest_db.dump.gz | psql -U postgres -h ${DBHOST} -f -
TreeService.py $queue -D unittest_db -H ${DBHOST} & TreeService.py $queue -D unittest_db -H ${DBHOST} -U postgres &
SERVER_PID=$! SERVER_PID=$!
# Starting up takes a while # Starting up takes a while
sleep 3 sleep 3
......
...@@ -14,7 +14,7 @@ qpid-config add exchange topic $queue ...@@ -14,7 +14,7 @@ qpid-config add exchange topic $queue
# Setup a clean database with predefined content # Setup a clean database with predefined content
dropdb -U postgres -h ${DBHOST} unittest_db dropdb -U postgres -h ${DBHOST} unittest_db
gzip -dc $srcdir/unittest_db.dump.gz | psql -U postgres -h ${DBHOST} -f - gzip -dc $srcdir/unittest_db.dump.gz | psql -U postgres -h ${DBHOST} -f -
TreeStatusEvents.py -B $queue -D unittest_db -H ${DBHOST} & TreeStatusEvents.py -B $queue -D unittest_db -H ${DBHOST} -U postgres &
SERVICE_PID=$! SERVICE_PID=$!
# Starting up takes a while # Starting up takes a while
sleep 3 sleep 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment