[node-patches] Change in ovirt-node[master]: tests: Increase timeouts for installer testcases

fabiand at fedoraproject.org fabiand at fedoraproject.org
Thu Nov 8 13:48:36 UTC 2012


Fabian Deutsch has uploaded a new change for review.

Change subject: tests: Increase timeouts for installer testcases
......................................................................

tests: Increase timeouts for installer testcases

Change-Id: Ie6d8dd3f7a187d247aeefc5d85839f7ef600e213
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M tests/igor/tcs/uinput/basic_tui_installation.py
M tests/igor/tcs/uinput/installer/02_keyboard_page.py
M tests/igor/tcs/uinput/installer/03_boot_device_page.py
M tests/igor/tcs/uinput/installer/04_installation_device_page.py
M tests/igor/tcs/uinput/installer/05_sizes_page.py
M tests/igor/tcs/uinput/installer/06_password_page.py
6 files changed, 14 insertions(+), 14 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/21/9121/1

diff --git a/tests/igor/tcs/uinput/basic_tui_installation.py b/tests/igor/tcs/uinput/basic_tui_installation.py
index d2bf9a6..0b10f84 100644
--- a/tests/igor/tcs/uinput/basic_tui_installation.py
+++ b/tests/igor/tcs/uinput/basic_tui_installation.py
@@ -27,26 +27,26 @@
 
     # P. 2: Enter keyboard selection
     # Press ENTER, wait 4 seconds, expect "Keyboard …"
-    (["\n"],                4, "Keyboard Layout Selection"),
+    (["\n"],                10, "Keyboard Layout Selection"),
 
     # P. 2: Select german keyboard layout
     # Press 53 times UP, wait 0 seconds and expect "German"
-    (39 * [common.input.uinput.KEY_UP], 2, "German"),
+    (39 * [common.input.uinput.KEY_UP], 10, "German"),
 
     # P. 3: Enter boot device selection
     # Press ENTER wait 4 seconds and expect "booting …"
-    (["\n"],                4, "booting oVirt Node"),
+    (["\n"],               10, "booting oVirt Node"),
 
     # P. 4: Enter installation device selection
-    (["\n"],                4, "installation of oVirt Node"),
+    (["\n"],               10, "installation of oVirt Node"),
 
     # P. 5: Enter sizes dialog
-    (["\t\t\t\n"],           4, "enter the sizes for"),
+    (["\t\t\t\n"],         10, "enter the sizes for"),
 
     # P. 6: Enter password dialog
-    (["\t\t\t\t\t\t\n"],           4, "Require a password"),
+    (["\t\t\t\t\t\t\n"],   10, "Require a password"),
     # P. 6: Enter password
-    (["ovirt\tovirt\t"],    2, "a weak password"),
+    (["ovirt\tovirt\t"],   10, "a weak password"),
 
     # P. 7: Start installation, and give it at most 240 seconds to complete
     (["\t\t\n"],   wait_for_last_page, "Installation Finished"),
diff --git a/tests/igor/tcs/uinput/installer/02_keyboard_page.py b/tests/igor/tcs/uinput/installer/02_keyboard_page.py
index 6525a48..9a40b50 100644
--- a/tests/igor/tcs/uinput/installer/02_keyboard_page.py
+++ b/tests/igor/tcs/uinput/installer/02_keyboard_page.py
@@ -19,11 +19,11 @@
 story = [
     # P. 2: Enter keyboard selection
     # Press ENTER, wait 4 seconds, expect "Keyboard …"
-    (None,      4, "Keyboard Layout Selection"),
+    (None,      10, "Keyboard Layout Selection"),
 
     # P. 2: Select german keyboard layout
     # Press 53 times UP, wait 0 seconds and expect "German"
-    (39 * [common.input.uinput.KEY_UP], 2, "German"),
+    (39 * [common.input.uinput.KEY_UP], 10, "German"),
 
     # P. 3: Enter boot device selection
     # Press ENTER wait 4 seconds and expect "booting …"
diff --git a/tests/igor/tcs/uinput/installer/03_boot_device_page.py b/tests/igor/tcs/uinput/installer/03_boot_device_page.py
index 6c8a610..75ff88b 100644
--- a/tests/igor/tcs/uinput/installer/03_boot_device_page.py
+++ b/tests/igor/tcs/uinput/installer/03_boot_device_page.py
@@ -19,7 +19,7 @@
 story = [
     # P. 3: Enter boot device selection
     # Press ENTER wait 4 seconds and expect "booting …"
-    (None,      5, "booting oVirt Node"),
+    (None,      10, "booting oVirt Node"),
 
     # P. 4: Enter installation device selection
     (["\n"],    0, None),
diff --git a/tests/igor/tcs/uinput/installer/04_installation_device_page.py b/tests/igor/tcs/uinput/installer/04_installation_device_page.py
index 546878a..c2ba457 100644
--- a/tests/igor/tcs/uinput/installer/04_installation_device_page.py
+++ b/tests/igor/tcs/uinput/installer/04_installation_device_page.py
@@ -18,7 +18,7 @@
 
 story = [
     # P. 4: Enter installation device selection
-    (None,          4, "installation of oVirt Node"),
+    (None,          10, "installation of oVirt Node"),
 
     # P. 5: Enter password dialog
     (["\t\t\t\n"],  0, None),
diff --git a/tests/igor/tcs/uinput/installer/05_sizes_page.py b/tests/igor/tcs/uinput/installer/05_sizes_page.py
index dc920e4..16674d8 100644
--- a/tests/igor/tcs/uinput/installer/05_sizes_page.py
+++ b/tests/igor/tcs/uinput/installer/05_sizes_page.py
@@ -18,7 +18,7 @@
 
 story = [
     # Expect sizes page
-    (None,                  4, "Please enter the sizes for"),
+    (None,                  10, "Please enter the sizes for"),
 ]
 
 story += [
diff --git a/tests/igor/tcs/uinput/installer/06_password_page.py b/tests/igor/tcs/uinput/installer/06_password_page.py
index dab4329..fb3723e 100644
--- a/tests/igor/tcs/uinput/installer/06_password_page.py
+++ b/tests/igor/tcs/uinput/installer/06_password_page.py
@@ -20,13 +20,13 @@
 
 story = [
     # P. 5: Enter password dialog
-    (None,                  4, "Require a password"),
+    (None,                  10, "Require a password"),
 ]
 
 # Check if the Caps Lock hint appears
 story += [
     # Actiavte Caps Lock and change the field, hint appears
-    ([common.input.uinput.KEY_CAPSLOCK, "\t"],    1,  "Hint: Caps Lock is on"),
+    ([common.input.uinput.KEY_CAPSLOCK, "\t"],    5,  "Hint: Caps Lock is on"),
     # Deactivate Caps Lock and tab until back in password field
     ([common.input.uinput.KEY_CAPSLOCK, "\t\t\t\t"],    0,  None) # FIXME negative case
 ]


--
To view, visit http://gerrit.ovirt.org/9121
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie6d8dd3f7a187d247aeefc5d85839f7ef600e213
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list