diff --git a/tests/role_deploy_database_server.pm b/tests/role_deploy_database_server.pm index 6cf618fe..b93bb3b1 100644 --- a/tests/role_deploy_database_server.pm +++ b/tests/role_deploy_database_server.pm @@ -18,6 +18,7 @@ sub run { # init the db if (script_run "/usr/bin/postgresql-setup --initdb") { # see if this is RHBZ #1872511... + script_run "rm -rf /var/lib/pgsql/data/*"; script_run "dnf -y install glibc-langpack-en", 180; assert_script_run "/usr/bin/postgresql-setup --initdb"; record_soft_failure "postgresql-setup initially failed due to missing langpack - RHBZ #1872511";