diff --git a/tests/p_yum-plugin-fastestmirror/0_install_yum-plugin-fastestmirror.sh b/tests/p_yum-plugin-fastestmirror/0_install_yum-plugin-fastestmirror.sh
index 6df0b0a..48dd7a3 100755
--- a/tests/p_yum-plugin-fastestmirror/0_install_yum-plugin-fastestmirror.sh
+++ b/tests/p_yum-plugin-fastestmirror/0_install_yum-plugin-fastestmirror.sh
@@ -2,6 +2,10 @@
 
 t_Log "Running $0 - package should already be installed"
 
+if [ "$centos_ver" -eq "8" ] ; then
+ t_Log "yum is replaced by dnf on el8. SKIP"
+ exit 0
+fi
 rpm -qa | egrep -q 'yum-.*fastestmirror'
 t_CheckExitStatus $?
 
diff --git a/tests/p_yum-plugin-fastestmirror/10-fastestmirror.sh b/tests/p_yum-plugin-fastestmirror/10-fastestmirror.sh
index 164b146..ded3f83 100755
--- a/tests/p_yum-plugin-fastestmirror/10-fastestmirror.sh
+++ b/tests/p_yum-plugin-fastestmirror/10-fastestmirror.sh
@@ -2,6 +2,12 @@
 
 # Ensure plugin is enabled :
 
+if [ "$centos_ver" -eq "8" ] ; then
+ t_Log "yum is replaced by dnf on el8. SKIP"
+ exit 0
+fi
+
+
 if [ "$PRE_UPDATES" == "1" ]; then
   t_Log "skipping $0 for pre update testing"
   exit 0