You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by el...@apache.org on 2014/11/22 23:04:39 UTC

[08/50] incubator-slider git commit: SLIDER-622 fixed erroneous negation

SLIDER-622 fixed erroneous negation


Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/954b0a2c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/954b0a2c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/954b0a2c

Branch: refs/heads/master
Commit: 954b0a2c58c19cee4e04c535ca116744e4c56756
Parents: 75e6efc
Author: Steve Loughran <st...@apache.org>
Authored: Mon Nov 10 17:50:28 2014 +0000
Committer: Steve Loughran <st...@apache.org>
Committed: Mon Nov 10 22:48:09 2014 +0000

----------------------------------------------------------------------
 .../src/main/java/org/apache/slider/common/tools/SliderUtils.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/954b0a2c/slider-core/src/main/java/org/apache/slider/common/tools/SliderUtils.java
----------------------------------------------------------------------
diff --git a/slider-core/src/main/java/org/apache/slider/common/tools/SliderUtils.java b/slider-core/src/main/java/org/apache/slider/common/tools/SliderUtils.java
index fa3f0bd..f4cea00 100644
--- a/slider-core/src/main/java/org/apache/slider/common/tools/SliderUtils.java
+++ b/slider-core/src/main/java/org/apache/slider/common/tools/SliderUtils.java
@@ -1910,7 +1910,7 @@ public final class SliderUtils {
     String errorText = null;
     process.start();
     try {
-      if (process.waitForServiceToStop(timeoutMillis)) {
+      if (!process.waitForServiceToStop(timeoutMillis)) {
         throw new TimeoutException(
             "Process did not stop in " + timeoutMillis + "mS");
       }