From: Ian Jackson Subject: [OSSTEST PATCH 2/9] mg-schema-test-database: Provide some timeouts which are better for testing Date: Thu, 17 Dec 2015 17:06:01 +0000 Message-ID: <1450371968-27997-2-git-send-email-ian.jackson@eu.citrix.com> References: <1450371968-27997-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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 In-Reply-To: <1450371968-27997-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org 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 --- 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 -- 1.7.10.4