Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 17E682009F8 for ; Fri, 20 May 2016 06:46:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 16724160A22; Fri, 20 May 2016 04:46:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 60DBD160A00 for ; Fri, 20 May 2016 06:46:11 +0200 (CEST) Received: (qmail 69763 invoked by uid 500); 20 May 2016 04:46:10 -0000 Mailing-List: contact notifications-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.incubator.apache.org Delivered-To: mailing list notifications@asterixdb.incubator.apache.org Received: (qmail 69754 invoked by uid 99); 20 May 2016 04:46:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 May 2016 04:46:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 185A5C0A65 for ; Fri, 20 May 2016 04:46:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.126 X-Spam-Level: ** X-Spam-Status: No, score=2.126 tagged_above=-999 required=6.31 tests=[MISSING_HEADERS=1.207, SPF_FAIL=0.919] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id s6-1xbW0e2Ux for ; Fri, 20 May 2016 04:46:08 +0000 (UTC) Received: from unhygienix.ics.uci.edu (unhygienix.ics.uci.edu [128.195.14.130]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id A41F45F295 for ; Fri, 20 May 2016 04:46:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by unhygienix.ics.uci.edu (Postfix) with ESMTP id 44CC3241ECE; Thu, 19 May 2016 21:46:25 -0700 (PDT) Date: Thu, 19 May 2016 21:46:25 -0700 From: "Michael Blow (Code Review)" CC: Jenkins , Till Westmann , abdullah alamoudi Reply-To: michael.blow@couchbase.com X-Gerrit-MessageType: merged Subject: Change in asterixdb[master]: Fix Intermittent Hangs In Recovery Tests X-Gerrit-Change-Id: I48d1f1a8c882e6f45d09c37df1c129463f2eaaf4 X-Gerrit-ChangeURL: X-Gerrit-Commit: 51f01bfe1167deb05e422618b9579bc70d4f7eb1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.8.4 Message-Id: <20160520044625.44CC3241ECE@unhygienix.ics.uci.edu> archived-at: Fri, 20 May 2016 04:46:12 -0000 Michael Blow has submitted this change and it was merged. Change subject: Fix Intermittent Hangs In Recovery Tests ...................................................................... Fix Intermittent Hangs In Recovery Tests Update recovery script to exact match on target PID Change-Id: I48d1f1a8c882e6f45d09c37df1c129463f2eaaf4 Reviewed-on: https://asterix-gerrit.ics.uci.edu/869 Reviewed-by: Jenkins Tested-by: Jenkins Reviewed-by: abdullah alamoudi --- M asterixdb/asterix-events/src/main/resources/events/node_failure/nc_failure.sh 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: abdullah alamoudi: Looks good to me, approved Jenkins: Looks good to me, but someone else must approve; Verified diff --git a/asterixdb/asterix-events/src/main/resources/events/node_failure/nc_failure.sh b/asterixdb/asterix-events/src/main/resources/events/node_failure/nc_failure.sh index 1dc0938..39a51db 100644 --- a/asterixdb/asterix-events/src/main/resources/events/node_failure/nc_failure.sh +++ b/asterixdb/asterix-events/src/main/resources/events/node_failure/nc_failure.sh @@ -25,10 +25,10 @@ PID=`echo $PID_INFO | cut -d " " -f2` kill -15 $PID -cmd_output=$(jps|grep $PID) +cmd_output=$(jps|grep "^$PID\s") while [ ${#cmd_output} -ne 0 ] do sleep 1 kill -15 $PID - cmd_output=$(jps|grep $PID) + cmd_output=$(jps|grep "^$PID\s") done -- To view, visit https://asterix-gerrit.ics.uci.edu/869 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: merged Gerrit-Change-Id: I48d1f1a8c882e6f45d09c37df1c129463f2eaaf4 Gerrit-PatchSet: 3 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Michael Blow Gerrit-Reviewer: Jenkins Gerrit-Reviewer: Michael Blow Gerrit-Reviewer: Till Westmann Gerrit-Reviewer: abdullah alamoudi