[gnome-continuous] libqa: print reply and wait for 60 seconds when user is being created



commit d2fd42686f05e02663d7ccfe67c48c28af72cc44
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Sat May 10 15:50:36 2014 +0200

    libqa: print reply and wait for 60 seconds when user is being created

 src/js/libqa.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/libqa.js b/src/js/libqa.js
index e50ec8d..4468abe 100644
--- a/src/js/libqa.js
+++ b/src/js/libqa.js
@@ -220,7 +220,7 @@ RateLimitInterval=0\n', null, false, Gio.FileCreateFlags.REPLACE_DESTINATION, ca
 function injectTestUserCreation(currentDir, currentEtcDir, username, params, cancellable) {
     params = Params.parse(params, { password: null, session: null });
     let execLine, passwordCommand, setSessionCommand;
-    let commandTemplate = '/usr/bin/dbus-send --system --type=method_call --print-reply' +
+    let commandTemplate = '/usr/bin/dbus-send --print-reply --reply-timeout=60000 --system 
--type=method_call --print-reply' +
         ' --dest=org.freedesktop.Accounts /org/freedesktop/Accounts%s org.freedesktop.Accounts.%s %s'
 
     let addUserCommand = Format.vprintf(commandTemplate, ['', 'CreateUser', 'string:' + username + ' string: 
int32:0'])


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