[gnome-ostree] smoketest: Decrease screenshot frequency



commit f96bb09ac80df4f30a10f9b2580a4530b1cc201e
Author: Colin Walters <walters verbum org>
Date:   Tue Apr 16 18:34:40 2013 -0400

    smoketest: Decrease screenshot frequency
    
    I think the frequent screenshots may be locking the system up.

 src/js/tasks/task-smoketest.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/js/tasks/task-smoketest.js b/src/js/tasks/task-smoketest.js
index d28fd00..7b0cbc2 100644
--- a/src/js/tasks/task-smoketest.js
+++ b/src/js/tasks/task-smoketest.js
@@ -258,7 +258,7 @@ const SmoketestOne = new Lang.Class({
         qemuContext.set_cwd(subworkdir.get_path());
         let qemu = new GSystem.Subprocess({context: qemuContext});
         this._qemu = qemu;
-        print("starting qemu : " + qemuArgs);
+        print("starting qemu : " + qemuArgs.join(' '));
         qemu.init(cancellable);
 
         qemu.wait(cancellable, Lang.bind(this, this._onQemuExited));
@@ -269,7 +269,8 @@ const SmoketestOne = new Lang.Class({
         let timeoutId = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, TIMEOUT_SECONDS,
                                                  Lang.bind(this, this._onTimeout));
 
-        let screenshotTimeoutId = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, 1,
+        // Let's only do a screenshot every 3 seconds, I think it's slowing things down...
+        let screenshotTimeoutId = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, 3,
                                                  Lang.bind(this, this._idleScreenshot));
         
         this._loop.run();


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