You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by st...@apache.org on 2014/11/10 18:51:52 UTC

[2/3] 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/09ef9240
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/09ef9240
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/09ef9240

Branch: refs/heads/feature/SLIDER-622-windows
Commit: 09ef9240d758a8d9edc9506b4a6d98935b648dcf
Parents: 290a5e8
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 17:50:28 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/09ef9240/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");
       }