[gnome-boxes] tests: Increase snapshot creation timeout



commit d8da1c9fcdfb5530ca6ea8ea49c2440a10c3706d
Author: Vladimir Benes <benesv email cz>
Date:   Thu Jun 18 22:44:29 2015 +0200

    tests: Increase snapshot creation timeout
    
    Timeout for snaphot creation changes from 5 seconds to 20 as it is
    too low for latest Qemu.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=751042

 tests/steps/snapshot.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/steps/snapshot.py b/tests/steps/snapshot.py
index a46f4e6..fe18181 100644
--- a/tests/steps/snapshot.py
+++ b/tests/steps/snapshot.py
@@ -22,7 +22,7 @@ def add_snapshot(context, name):
                                                                             and x.sensitive and x.name == 
'Menu')) == 0:
         sleep(1)
         wait += 1
-        if wait == 5:
+        if wait == 20:
             raise Exception("Timeout: Node %s wasn't found showing" %name)
 
     sleep(1)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]