Skip to content

Commit 5e0f074

Browse files
committed
temp
1 parent 52bf1d2 commit 5e0f074

File tree

6 files changed

+6
-1
lines changed

6 files changed

+6
-1
lines changed

.github/workflows/build.yml

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232

3333
- name: Run unit test
3434
run: |
35+
mkdir /var/tmp/worker0 /var/tmp/worker1 /var/tmp/worker2 /var/tmp/worker3
3536
chmod +x ./.github/workflows/resources/unit-test.sh
3637
./.github/workflows/resources/unit-test.sh
3738
@@ -85,5 +86,6 @@ jobs:
8586

8687
- name: K8S integration tests
8788
run: |
89+
mkdir /var/tmp/worker0 /var/tmp/worker1
8890
chmod +x test-k8s.sh
8991
./test-k8s.sh

start-k8s.sh

+3
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ cur_timestamp="$(date +%s)"
123123
end_timestamp="$((cur_timestamp + TIMEOUT_SECONDS))"
124124
while true; do
125125
if [ "$(date +%s)" -gt "$end_timestamp" ]; then
126+
for pod in $(kubectl get pods -o jsonpath='{.items[*].metadata.name}'); do
127+
kubectl describe pod "$pod"
128+
done
126129
echo "Pods are not running"
127130
exit 1
128131
fi

test-k8s.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ build_and_run_on_k8s() {
5050
set -e
5151

5252
./start-k8s.sh --META_DB_PATH "${TEST_ROOT}/env/databases/metadb" \
53-
--PERFORMANCE_DB_PATH performancedb_path "${TEST_ROOT}/env/databases/performancedb" \
53+
--PERFORMANCE_DB_PATH "${TEST_ROOT}/env/databases/performancedb" \
5454
--DATA_PATH "${TEST_ROOT}/env/data" \
5555
--LOG_PATH "${LOG_DIR}" \
5656
--AGGREGATE_PATH "${TEST_ROOT}/env/aggregate" \

tests/integration/env_init/aggregate/.keep

Whitespace-only changes.

tests/integration/env_init/databases/metadb/.keep

Whitespace-only changes.

tests/integration/env_init/databases/performancedb/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)