geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstew...@apache.org
Subject geode git commit: GEODE-3510: GfshRule displays output from StdError
Date Fri, 25 Aug 2017 23:00:21 GMT
Repository: geode
Updated Branches:
  refs/heads/develop 0af313241 -> 79d249497


GEODE-3510: GfshRule displays output from StdError


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/79d24949
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/79d24949
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/79d24949

Branch: refs/heads/develop
Commit: 79d249497576deaa3a8f21f475f5ce03f8847040
Parents: 0af3132
Author: Jared Stewart <jstewart@pivotal.io>
Authored: Wed Aug 23 13:17:30 2017 -0700
Committer: Jared Stewart <jstewart@pivotal.io>
Committed: Fri Aug 25 15:59:50 2017 -0700

----------------------------------------------------------------------
 .../test/dunit/rules/gfsh/ProcessLogger.java    |  3 +--
 .../deployment/ExtendsAbstractFunction.java     | 25 --------------------
 2 files changed, 1 insertion(+), 27 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/79d24949/geode-assembly/src/test/java/org/apache/geode/test/dunit/rules/gfsh/ProcessLogger.java
----------------------------------------------------------------------
diff --git a/geode-assembly/src/test/java/org/apache/geode/test/dunit/rules/gfsh/ProcessLogger.java
b/geode-assembly/src/test/java/org/apache/geode/test/dunit/rules/gfsh/ProcessLogger.java
index 47f0304..c0c788a 100644
--- a/geode-assembly/src/test/java/org/apache/geode/test/dunit/rules/gfsh/ProcessLogger.java
+++ b/geode-assembly/src/test/java/org/apache/geode/test/dunit/rules/gfsh/ProcessLogger.java
@@ -84,7 +84,6 @@ public class ProcessLogger {
   }
 
   public List<String> getStdErrLines() {
-    return Lists.newArrayList(stdOutLines.iterator());
+    return Lists.newArrayList(stdErrorLines.iterator());
   }
-
 }

http://git-wip-us.apache.org/repos/asf/geode/blob/79d24949/geode-core/src/test/resources/org/apache/geode/management/internal/deployment/ExtendsAbstractFunction.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/resources/org/apache/geode/management/internal/deployment/ExtendsAbstractFunction.java
b/geode-core/src/test/resources/org/apache/geode/management/internal/deployment/ExtendsAbstractFunction.java
deleted file mode 100644
index cf7c7a2..0000000
--- a/geode-core/src/test/resources/org/apache/geode/management/internal/deployment/ExtendsAbstractFunction.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more contributor license
- * agreements. See the NOTICE file distributed with this work for additional information
regarding
- * copyright ownership. The ASF licenses this file to You under the Apache License, Version
2.0 (the
- * "License"); you may not use this file except in compliance with the License. You may obtain
a
- * copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under
the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
express
- * or implied. See the License for the specific language governing permissions and limitations
under
- * the License.
- */
-package org.apache.geode.management.internal.deployment;
-
-
-import org.apache.geode.cache.execute.FunctionAdapter;
-import org.apache.geode.cache.execute.FunctionContext;
-
-public class ExtendsFunctionAdapter extends FunctionAdapter {
-  public void execute(FunctionContext context) {
-    context.getResultSender().lastResult("ExtendsFunctionAdapterResult");
-  }
-}


Mime
View raw message