Uncomment database timeout configuration

This commit is contained in:
Daniel García Aubert 2017-07-31 18:25:34 +02:00
parent ac7509b01a
commit 227c2b336b

View File

@ -980,9 +980,9 @@ TestClient.setUserDatabaseTimeoutLimit = function (user, timeoutLimit, callback)
step(
function configureTimeouts () {
const timeoutSQLs = [
// `ALTER ROLE "${publicuser}" SET STATEMENT_TIMEOUT TO ${timeoutLimit}`,
`ALTER ROLE "${publicuser}" SET STATEMENT_TIMEOUT TO ${timeoutLimit}`,
`ALTER ROLE "${dbuser}" SET STATEMENT_TIMEOUT TO ${timeoutLimit}`,
// `ALTER DATABASE "${dbname}" SET STATEMENT_TIMEOUT TO ${timeoutLimit}`
`ALTER DATABASE "${dbname}" SET STATEMENT_TIMEOUT TO ${timeoutLimit}`
];
const group = this.group();