diff --git a/Sanity/basic/runtest.sh b/Sanity/basic/runtest.sh index 9a37d68..987971d 100755 --- a/Sanity/basic/runtest.sh +++ b/Sanity/basic/runtest.sh @@ -119,7 +119,11 @@ sleep 3 rlPhaseEnd rlPhaseStartCleanup - rlWaitForCmd "killall python2" -r 1 -m 50 + if rlIsRHEL '>8' || rlIsCentOS; then + rlWaitForCmd "killall python3" -r 1 -m 50 + else + rlWaitForCmd "killall python2" -r 1 -m 50 + fi #rlRun "while ! killall python2; do true; done" rlRun "popd" rlRun "rm -r $TmpDir" 0 "Removing tmp directory"