Commit 6fdfcd9 fixed sleep between tests

12 files Authored and Committed by bgoncalv 2 years ago
fixed sleep between tests

    
1 @@ -148,6 +148,8 @@
2           rlFileRestore
3           rlRun "popd"
4           rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
5 +         #avoid systemd failing to start crond due start-limit
6 +         sleep 10
7       rlPhaseEnd
8   rlJournalPrintText
9   rlJournalEnd
1 @@ -69,6 +69,8 @@
2   
3       »       rlFileRestore
4   »       rlServiceRestore crond
5 + »       #avoid systemd failing to start crond due start-limit
6 + »       sleep 10
7       rlPhaseEnd
8   rlJournalPrintText
9   rlJournalEnd
1 @@ -52,6 +52,8 @@
2   
3       rlPhaseStartCleanup
4       »       rlServiceRestore crond
5 +         #avoid systemd failing to start crond due start-limit
6 +         sleep 10
7       rlPhaseEnd
8   rlJournalPrintText
9   rlJournalEnd
1 @@ -72,6 +72,8 @@
2   
3   »       rlServiceStop crond
4   »       rlServiceRestore crond
5 +         #avoid systemd failing to start crond due start-limit
6 +         sleep 10
7       rlPhaseEnd
8   rlJournalPrintText
9   rlJournalEnd
1 @@ -117,6 +117,8 @@
2           rlRun "rm -r $tmpDir" 0 "Removing tmp directory"
3           rlRun "userdel -rf $testUser";
4           rlServiceRestore crond;
5 +         #avoid systemd failing to start crond due start-limit
6 +         sleep 10
7       rlPhaseEnd
8   rlJournalPrintText
9   rlJournalEnd
1 @@ -94,6 +94,8 @@
2   
3       rlPhaseStart WARN "Cleanup"
4           rlRun "rlServiceRestore 'crond'"
5 +         #avoid systemd failing to start crond due start-limit
6 +         sleep 10
7       rlPhaseEnd
8       rlJournalPrintText
9       trap - ERR;
1 @@ -70,5 +70,7 @@
2           rlServiceRestore crond
3           rlRun "popd"
4           rlRun "rm -r $TEMPDIR" 0 "Removing tmp directory"
5 +         #avoid systemd failing to start crond due start-limit
6 +         sleep 10
7       rlPhaseEnd
8   rlJournalEnd
1 @@ -66,6 +66,8 @@
2           rm -rf $tmpDir;
3           userdel -rf $testUser;
4           rlServiceRestore crond
5 +         #avoid systemd failing to start crond due start-limit
6 +         sleep 10
7       rlPhaseEnd
8   rlJournalPrintText
9   rlJournalEnd
1 @@ -177,6 +177,8 @@
2           popd tmpDir;
3           rlRun "userdel -fr $testUser" 0 "Remove test user";
4   #        rlRun "rm -rf $testDir";
5 +         #avoid systemd failing to start crond due start-limit
6 +         sleep 10
7       rlPhaseEnd
8   
9   rlJournalPrintText
1 @@ -126,6 +126,8 @@
2           rlServiceRestore sssd
3           /bin/kill -HUP $(cat /var/run/syslogd.pid)
4           rlServiceRestore crond
5 +         #avoid systemd failing to start crond due start-limit
6 +         sleep 10
7       rlPhaseEnd
8   rlJournalPrintText
9   rlJournalEnd
1 @@ -45,6 +45,8 @@
2   
3       rlPhaseStartCleanup
4           rlServiceRestore crond
5 +         #avoid systemd failing to start crond due start-limit
6 +         sleep 10
7       rlPhaseEnd
8   rlJournalPrintText
9   rlJournalEnd
1 @@ -74,6 +74,8 @@
2           rlServiceRestore rsyslog
3           rlRun "popd"
4           rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
5 +         #avoid systemd failing to start crond due start-limit
6 +         sleep 10
7       rlPhaseEnd
8   rlJournalPrintText
9   rlJournalEnd