diff --git a/.github/workflows/pd-store-ci.yml b/.github/workflows/pd-store-ci.yml index 9cdf888b2a..d7dd8f5009 100644 --- a/.github/workflows/pd-store-ci.yml +++ b/.github/workflows/pd-store-ci.yml @@ -58,7 +58,7 @@ jobs: run: | mvn clean package -U -Dmaven.javadoc.skip=true -Dmaven.test.skip=true -ntp - - name: Start PD instance + - name: Prepare env and service run: | $TRAVIS_DIR/start-pd.sh @@ -70,10 +70,6 @@ jobs: run: | mvn test -pl hugegraph-pd/hg-pd-test -am -P pd-rest-test - - name: Stop PD instance - run: | - $TRAVIS_DIR/stop-pd.sh - - name: Upload coverage to Codecov uses: codecov/codecov-action@v3.0.0 with: diff --git a/hugegraph-server/hugegraph-dist/src/assembly/travis/stop-pd.sh b/hugegraph-server/hugegraph-dist/src/assembly/travis/stop-pd.sh deleted file mode 100755 index bc78e618c5..0000000000 --- a/hugegraph-server/hugegraph-dist/src/assembly/travis/stop-pd.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -# -# 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. -# -set -ev - -HOME_DIR=$(pwd) -PD_DIR=$HOME_DIR/hugegraph-pd/apache-hugegraph-incubating-pd-1.3.0 - -pushd $PD_DIR -. bin/stop-hugegraph-pd.sh -sleep 10 -popd