From patchwork Thu Dec 17 17:06:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 7875111 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3C8A3BEEE5 for ; Thu, 17 Dec 2015 17:08:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 76A0F20254 for ; Thu, 17 Dec 2015 17:08:57 +0000 (UTC) Received: from lists.xen.org (lists.xenproject.org [50.57.142.19]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D59472042C for ; Thu, 17 Dec 2015 17:08:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1a9c0s-0006BK-Pc; Thu, 17 Dec 2015 17:06:46 +0000 Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1a9c0q-00069U-L8 for xen-devel@lists.xenproject.org; Thu, 17 Dec 2015 17:06:44 +0000 Received: from [85.158.143.35] by server-1.bemta-4.messagelabs.com id 6E/01-21571-4ABE2765; Thu, 17 Dec 2015 17:06:44 +0000 X-Env-Sender: prvs=7867bb76c=Ian.Jackson@citrix.com X-Msg-Ref: server-11.tower-21.messagelabs.com!1450371999!5936174!1 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 7.35.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 62309 invoked from network); 17 Dec 2015 17:06:41 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-11.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 17 Dec 2015 17:06:41 -0000 X-IronPort-AV: E=Sophos;i="5.20,442,1444694400"; d="scan'208";a="320065562" From: Ian Jackson To: Date: Thu, 17 Dec 2015 17:06:01 +0000 Message-ID: <1450371968-27997-2-git-send-email-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1450371968-27997-1-git-send-email-ian.jackson@eu.citrix.com> References: <1450371968-27997-1-git-send-email-ian.jackson@eu.citrix.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Jackson , Ian Campbell Subject: [Xen-devel] [OSSTEST PATCH 2/9] mg-schema-test-database: Provide some timeouts which are better for testing X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The default timeouts mean that after starting a test db queue daemon and a test db allocation attempt, we have to wait two minutes. Lower timeouts increase the risk that we might lose noncritical races and allocate resources to the `wrong' tasks. And they reduce the duration of an outage which will cause a planned allocation attempt to fail. I think we don't care about those problems for test instances. Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- mg-schema-test-database | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mg-schema-test-database b/mg-schema-test-database index bf82c75..818cf89 100755 --- a/mg-schema-test-database +++ b/mg-schema-test-database @@ -336,6 +336,8 @@ QueueDaemonHost $ctrlhost OwnerDaemonPort ${ctrlports%,*} QueueDaemonPort ${ctrlports#*,} ExecutiveDbOwningRoleRegexp .* +QueueDaemonHoldoff 3 +QueueDaemonRetry 5 END mv -f $tcfg.tmp $tcfg