Blame SOURCES/0426-test-TEST-12-RAID-DEG-add-rd.device.timeout.patch

712866
From 6efee60f93ed8456ba93f72dd5d0443380a317f0 Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Thu, 30 Jun 2016 15:27:04 +0200
712866
Subject: [PATCH] test/TEST-12-RAID-DEG: add rd.device.timeout
712866
712866
---
712866
 test/TEST-12-RAID-DEG/test.sh | 16 ++++++++--------
712866
 1 file changed, 8 insertions(+), 8 deletions(-)
712866
712866
diff --git a/test/TEST-12-RAID-DEG/test.sh b/test/TEST-12-RAID-DEG/test.sh
5c6c2a
index e749ba0c..5f9cfc56 100755
712866
--- a/test/TEST-12-RAID-DEG/test.sh
712866
+++ b/test/TEST-12-RAID-DEG/test.sh
712866
@@ -36,19 +36,19 @@ test_run() {
712866
     echo "MD_UUID=$MD_UUID"
712866
     read LUKS_UUID < $TESTDIR/luksuuid
712866
 
712866
-    client_run failme && return 1
712866
-    client_run rd.auto || return 1
712866
+    client_run rd.device.timeout=60 failme && return 1
712866
+    client_run rd.device.timeout=60 rd.auto || return 1
712866
 
712866
 
712866
-    client_run rd.luks.uuid=$LUKS_UUID rd.md.uuid=$MD_UUID rd.md.conf=0 rd.lvm.vg=dracut || return 1
712866
+    client_run rd.device.timeout=60 rd.luks.uuid=$LUKS_UUID rd.md.uuid=$MD_UUID rd.md.conf=0 rd.lvm.vg=dracut || return 1
712866
 
712866
-    client_run rd.luks.uuid=$LUKS_UUID rd.md.uuid=failme rd.md.conf=0 rd.lvm.vg=dracut failme && return 1
712866
+    client_run rd.device.timeout=60 rd.luks.uuid=$LUKS_UUID rd.md.uuid=failme rd.md.conf=0 rd.lvm.vg=dracut failme && return 1
712866
 
712866
-    client_run rd.luks.uuid=$LUKS_UUID rd.md.uuid=$MD_UUID rd.lvm=0 failme && return 1
712866
-    client_run rd.luks.uuid=$LUKS_UUID rd.md.uuid=$MD_UUID rd.lvm=0 rd.auto=1 failme && return 1
712866
-    client_run rd.luks.uuid=$LUKS_UUID rd.md.uuid=$MD_UUID rd.lvm.vg=failme failme && return 1
712866
+    client_run rd.device.timeout=60 rd.luks.uuid=$LUKS_UUID rd.md.uuid=$MD_UUID rd.lvm=0 failme && return 1
712866
+    client_run rd.device.timeout=60 rd.luks.uuid=$LUKS_UUID rd.md.uuid=$MD_UUID rd.lvm=0 rd.auto=1 failme && return 1
712866
+    client_run rd.device.timeout=60 rd.luks.uuid=$LUKS_UUID rd.md.uuid=$MD_UUID rd.lvm.vg=failme failme && return 1
712866
     client_run rd.luks.uuid=$LUKS_UUID rd.md.uuid=$MD_UUID rd.lvm.vg=dracut || return 1
712866
-    client_run rd.luks.uuid=$LUKS_UUID rd.md.uuid=$MD_UUID rd.lvm.lv=dracut/failme failme && return 1
712866
+    client_run rd.device.timeout=60 rd.luks.uuid=$LUKS_UUID rd.md.uuid=$MD_UUID rd.lvm.lv=dracut/failme failme && return 1
712866
     client_run rd.luks.uuid=$LUKS_UUID rd.md.uuid=$MD_UUID rd.lvm.lv=dracut/root || return 1
712866
 
712866
     return 0