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

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