From patchwork Thu Jan 3 00:21:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael-Doyle Hudson X-Patchwork-Id: 13767 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id AA8A123E03 for ; Thu, 3 Jan 2013 00:21:17 +0000 (UTC) Received: from mail-vb0-f47.google.com (mail-vb0-f47.google.com [209.85.212.47]) by fiordland.canonical.com (Postfix) with ESMTP id 47AA3A185E9 for ; Thu, 3 Jan 2013 00:21:17 +0000 (UTC) Received: by mail-vb0-f47.google.com with SMTP id e21so14575179vbm.6 for ; Wed, 02 Jan 2013 16:21:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:content-type:mime-version:x-launchpad-project :x-launchpad-branch:x-launchpad-message-rationale :x-launchpad-branch-revision-number:x-launchpad-notification-type:to :from:subject:message-id:date:reply-to:sender:errors-to:precedence :x-generated-by:x-launchpad-hash:x-gm-message-state; bh=QJSaQFWKxabXqdthUu0ITiI/Tg26tRY/24r+MEXU4Bc=; b=VjVrxqaTS2vnr3tohXFZwfzYmSGlCwym9T+CUHwPTheqKDUNIKA6wRjS9KNgGPcU1T 6EoeaXpsH0f0OxqaWAL/P9ooZQ4fOKyG7wxe5UCj8vy5AeShMylnUqhmb7Bb8xKqIrUt 5nLTS4Y2VBEcdPsmKBuDVfpGsOK00HUvqKvuPNNasTAPNZOR5yfNCDNIojiLgErkU3xj +P7Ze+8MWcpVwDA0OpOaZIPEM638GA34eCR33vgXVzVXTmdOYAEZyyjp7fq4evNjr+z8 843GGzUqB3vSJLrLR9baYR1BwFb5tmgm7Pe9X1KaQRi9Q2RlZsM63mtCJX0cBPqFN/gy MdWg== X-Received: by 10.52.18.147 with SMTP id w19mr63393096vdd.94.1357172476762; Wed, 02 Jan 2013 16:21:16 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.145.101 with SMTP id st5csp70884veb; Wed, 2 Jan 2013 16:21:16 -0800 (PST) X-Received: by 10.194.235.6 with SMTP id ui6mr75679547wjc.12.1357172475432; Wed, 02 Jan 2013 16:21:15 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id n3si68370607wjf.71.2013.01.02.16.21.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 02 Jan 2013 16:21:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1TqYYc-0003Ol-45 for ; Thu, 03 Jan 2013 00:21:14 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 0A6ABE025F for ; Thu, 3 Jan 2013 00:21:14 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-dispatcher X-Launchpad-Branch: ~linaro-validation/lava-dispatcher/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 515 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-dispatcher/trunk] Rev 515: handle timeout being unspecified (i.e. -1) properly in the lava_test_shell action Message-Id: <20130103002114.29511.57935.launchpad@ackee.canonical.com> Date: Thu, 03 Jan 2013 00:21:14 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="16393"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 5bcc13d34cba629948d4ef5ecc5ff05f90b6d945 X-Gm-Message-State: ALoCoQm2cQN+6CyPrPHDxyS7Qx3nYleuy0Y2/pZ8NA9I5XIUm02wKrYGh343DxQ5uB8CSQeaut0o ------------------------------------------------------------ revno: 515 committer: Michael Hudson-Doyle branch nick: trunk timestamp: Thu 2013-01-03 11:30:20 +1300 message: handle timeout being unspecified (i.e. -1) properly in the lava_test_shell action modified: lava_dispatcher/actions/lava_test_shell.py --- lp:lava-dispatcher https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk You are subscribed to branch lp:lava-dispatcher. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription === modified file 'lava_dispatcher/actions/lava_test_shell.py' --- lava_dispatcher/actions/lava_test_shell.py 2012-12-11 00:23:15 +0000 +++ lava_dispatcher/actions/lava_test_shell.py 2013-01-02 22:30:20 +0000 @@ -490,6 +490,8 @@ with target.runner() as runner: start = time.time() + if timeout == -1: + timeout = runner._connection.timeout initial_timeout = timeout while self._keep_running(runner, timeout, signal_director): elapsed = time.time() - start