From dbb2776c71f835c7068fbabc9c84dac229ffe360 Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Mon, 11 Jan 2016 21:16:56 +0000 Subject: [PATCH] Task #8899: Marshall postgres user to OTDB services --- SAS/OTDB_Services/test/t_TreeService.run | 2 +- SAS/OTDB_Services/test/t_TreeStatusEvents.run | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SAS/OTDB_Services/test/t_TreeService.run b/SAS/OTDB_Services/test/t_TreeService.run index 14cc7a3968e..1ce182790c5 100755 --- a/SAS/OTDB_Services/test/t_TreeService.run +++ b/SAS/OTDB_Services/test/t_TreeService.run @@ -14,7 +14,7 @@ qpid-config add exchange topic $queue # Setup a clean database with predefined content dropdb -U postgres -h ${DBHOST} unittest_db 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=$! # Starting up takes a while sleep 3 diff --git a/SAS/OTDB_Services/test/t_TreeStatusEvents.run b/SAS/OTDB_Services/test/t_TreeStatusEvents.run index 22148b99324..6b23a31fe3e 100755 --- a/SAS/OTDB_Services/test/t_TreeStatusEvents.run +++ b/SAS/OTDB_Services/test/t_TreeStatusEvents.run @@ -14,7 +14,7 @@ qpid-config add exchange topic $queue # Setup a clean database with predefined content dropdb -U postgres -h ${DBHOST} unittest_db 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=$! # Starting up takes a while sleep 3 -- GitLab