From cf2816ac2ac4f5cf806dbb60bc8108013b908b7b Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Dec 01 2011 13:42:21 +0000 Subject: Increased sleep time for slower VMs (like Vbox) for the postgresql test --- diff --git a/tests/p_postgresql/0-install_postgresql.sh b/tests/p_postgresql/0-install_postgresql.sh index 3a212d3..3fb42dc 100755 --- a/tests/p_postgresql/0-install_postgresql.sh +++ b/tests/p_postgresql/0-install_postgresql.sh @@ -2,4 +2,3 @@ # Author: Athmane Madjoudj t_InstallPackage postgresql postgresql-server -t_ServiceControl postgresql start diff --git a/tests/p_postgresql/1-config-postgresql.sh b/tests/p_postgresql/1-config-postgresql.sh index da36ade..ee7d193 100755 --- a/tests/p_postgresql/1-config-postgresql.sh +++ b/tests/p_postgresql/1-config-postgresql.sh @@ -5,8 +5,9 @@ if (t_GetPkgRel postgresql | grep -q el6) then t_Log "Initialize PostgreSQL DB " service postgresql initdb - service postgresql restart - sleep 5 + t_ServiceControl postgresql start + sleep 15 else - t_Log "This script is not required for CentOS 5.x" + t_ServiceControl postgresql start + sleep 15 fi