Skip to content

Commit d301f6d

Browse files
committed
tpch use 2 zk instances
1 parent add5ab3 commit d301f6d

File tree

1 file changed

+7
-22
lines changed

1 file changed

+7
-22
lines changed

.github/workflows/tpc-h.yml

+7-22
Original file line numberDiff line numberDiff line change
@@ -91,22 +91,19 @@ jobs:
9191
systeminfo | findstr /C:"Total Physical Memory"
9292
fi
9393
94-
- name: Run Metadata
95-
uses: ./.github/actions/metadataRunner
94+
- name: Run ZooKeeper1
95+
uses: ./.github/actions/zookeeperRunner
96+
97+
- name: Run ZooKeeper2
98+
uses: ./.github/actions/zookeeperRunner
9699
with:
97-
metadata: ${{ matrix.metadata }}
100+
port: 2182
98101

99102
- name: Run DB
100103
uses: ./.github/actions/dbRunner
101104
with:
102105
DB-name: ${{ matrix.DB-name }}
103106

104-
- name: Modify Old IGinX DB Config
105-
uses: ./.github/actions/edit
106-
with:
107-
paths: IGinX/conf/config.properties
108-
statements: s/^storageEngineList=/#storageEngineList=/g
109-
110107
- name: Install New IGinX with Maven
111108
shell: bash
112109
run: mvn clean package -DskipTests -P-format
@@ -129,21 +126,9 @@ jobs:
129126
DB-name: ${{ matrix.DB-name }}
130127
Close-Optimizer: ${{ inputs.close-optimizer }}
131128
Metadata: ${{ matrix.metadata }}
129+
zookeeper-port: 2182
132130
Root-Dir-Path: "IGinX"
133131

134-
- name: Start New IGinX to Save StorageEngineList
135-
uses: ./.github/actions/iginxRunner
136-
137-
- name: Stop New IGinX
138-
uses: ./.github/actions/iginxRunner
139-
with:
140-
if-stop: "true"
141-
142-
- name: Show New IGinX log
143-
if: always()
144-
shell: bash
145-
run: cat iginx-*.log
146-
147132
- name: Download TPC-H Data
148133
shell: bash
149134
run: |

0 commit comments

Comments
 (0)