GEODE-2395: use random ports when starting the jmx manager and http services
* be able to configure the various aspects of the rules before starting the server when declaring the rules. * delete the unnecessary abstract test classes * allowing tests to use default ports if needed * created HttpClientRule to ease the connection to to pulse server Project: http://git-wip-us.apache.org/repos/asf/geode/repo Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/e10b75c3 Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/e10b75c3 Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/e10b75c3 Branch: refs/heads/feature/GEODE-2420 Commit: e10b75c353b419503ff32cc3bf154e7a778d63a0 Parents: 69dbc10 Author: Jinmei Liao <[email protected]> Authored: Thu Mar 23 13:17:05 2017 -0700 Committer: Ken Howe <[email protected]> Committed: Mon Mar 27 14:01:45 2017 -0700 ---------------------------------------------------------------------- .../cli/shell/GfshMultilineCommandTest.java | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/geode/blob/e10b75c3/geode-core/src/test/java/org/apache/geode/management/internal/cli/shell/GfshMultilineCommandTest.java ---------------------------------------------------------------------- diff --git a/geode-core/src/test/java/org/apache/geode/management/internal/cli/shell/GfshMultilineCommandTest.java b/geode-core/src/test/java/org/apache/geode/management/internal/cli/shell/GfshMultilineCommandTest.java index 0fc7d1b..9a5e574 100644 --- a/geode-core/src/test/java/org/apache/geode/management/internal/cli/shell/GfshMultilineCommandTest.java +++ b/geode-core/src/test/java/org/apache/geode/management/internal/cli/shell/GfshMultilineCommandTest.java @@ -1,9 +1,18 @@ /* - * ================================================================================================ - * Copyright (c) 2010-2014 Pivotal Software, Inc. All Rights Reserved. This product is protected by - * U.S. and international copyright and intellectual property laws. Pivotal products are covered by - * one or more patents listed at http://www.pivotal.io/patents. - * ================================================================================================ + * 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.cli.shell;
