asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Blow (Code Review)" <do-not-re...@asterixdb.incubator.apache.org>
Subject Change in asterixdb[master]: Fix Intermittent Hangs In Recovery Tests
Date Fri, 20 May 2016 04:46:25 GMT
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 <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>
---
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 <michael.blow@couchbase.com>
Gerrit-Reviewer: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Gerrit-Reviewer: Michael Blow <michael.blow@couchbase.com>
Gerrit-Reviewer: Till Westmann <tillw@apache.org>
Gerrit-Reviewer: abdullah alamoudi <bamousaa@gmail.com>

Mime
View raw message