From b2aaa59bcaeb9f6342a352e5c3af6f19dd6c9ae3 Mon Sep 17 00:00:00 2001 From: mu <59917266+4eUeP@users.noreply.github.com> Date: Mon, 21 Nov 2022 12:52:52 +0800 Subject: [PATCH] update hserver command args (#80) --- .github/workflows/ci_repo_dispatch.yml | 2 +- .gitignore | 2 ++ app/src/test/java/io/hstream/testing/TestUtils.java | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_repo_dispatch.yml b/.github/workflows/ci_repo_dispatch.yml index 58d6f528..6ddd007a 100644 --- a/.github/workflows/ci_repo_dispatch.yml +++ b/.github/workflows/ci_repo_dispatch.yml @@ -54,7 +54,7 @@ jobs: curl \ -X POST \ -H 'Content-Type: application/json' \ - ${{ secrets.SLACK_WEB_HOOK_URL }} \ + ${{ secrets.SLACK_TEST_RESULTS_HOOK_URL }} \ --data "{\"data\": \"GitHub Action build result: ${{ job.status }} "$JOB_STATUS_EMOJI"\n\ Commit info: https://github.com/hstreamdb/hstream/commit/${{ github.event.client_payload.commit_sha }}\n\ Action summary: https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID\"}" diff --git a/.gitignore b/.gitignore index f27c0245..8c588bdd 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,5 @@ bin/ .logs /local/ + +MyLocalTest.java diff --git a/app/src/test/java/io/hstream/testing/TestUtils.java b/app/src/test/java/io/hstream/testing/TestUtils.java index eabb8146..4c5a3ecf 100644 --- a/app/src/test/java/io/hstream/testing/TestUtils.java +++ b/app/src/test/java/io/hstream/testing/TestUtils.java @@ -204,13 +204,13 @@ static class HServerCliOpts { public SecurityOptions securityOptions; public String toString() { - return " --host " + return " --bind-address " + "127.0.0.1 " + " --port " + port + " --internal-port " + internalPort - + " --address " + + " --advertised-address " + address + " --server-id " + serverId