Skip to content
Snippets Groups Projects
Commit 00bdf9e9 authored by pkupczyk's avatar pkupczyk
Browse files

SSDM-1286 : QGF: Setup of automatic testing of dropboxes - fix:

java.lang.IllegalArgumentException: Couldn't execute a command: [/usr/bin/pg_restore, -U, ci, -d, openbis_test_qgf, -j, 4, -Fc, -O, /local0/ci/hudson/gradle/deep_sequencing_unit/resource/test-db/openbis_test_qgf.dmp] because: [pg_restore: [archiver (db)] Error while PROCESSING TOC:, pg_restore: [archiver (db)] Error from TOC entry 3530; 0 0 COMMENT EXTENSION plpgsql , pg_restore: [archiver (db)] could not execute query: ERROR:  must be owner of extension plpgsql,     Command was: COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';, , , , pg_restore: WARNING:  no privileges could be revoked for "public", pg_restore: WARNING:  no privileges could be revoked for "public", pg_restore: WARNING:  no privileges were granted for "public", pg_restore: WARNING:  no privileges were granted for "public", WARNING: errors ignored on restore: 1]

SVN: 33051
parent 0c7423de
No related branches found
No related tags found
Loading
...@@ -146,7 +146,7 @@ public class TestDatabase ...@@ -146,7 +146,7 @@ public class TestDatabase
String restore = DumpPreparator.getRestoreExecutable(); String restore = DumpPreparator.getRestoreExecutable();
List<String> command = List<String> command =
Arrays.asList(restore, "-U", databaseOwner, "-d", databaseName, "-j", "4", "-Fc", "-O", Arrays.asList(restore, "-U", databaseOwner, "-d", databaseName, "-n", "public", "-j", "4", "-Fc", "-O",
databaseDump.getAbsolutePath()); databaseDump.getAbsolutePath());
executeCommand(command); executeCommand(command);
} }
......
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