From bf7c5bb243cd7c2a1cad60bcdae8628da23be14f Mon Sep 17 00:00:00 2001 From: Mohamed Ishad Date: Sat, 18 May 2024 12:20:03 +0530 Subject: [PATCH] temp --- start-k8s.sh | 3 +++ test-k8s.sh | 2 +- tests/integration/env_init/aggregate/.keep | 0 tests/integration/env_init/databases/metadb/.keep | 0 tests/integration/env_init/databases/performancedb/.keep | 0 5 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 tests/integration/env_init/aggregate/.keep create mode 100644 tests/integration/env_init/databases/metadb/.keep create mode 100644 tests/integration/env_init/databases/performancedb/.keep diff --git a/start-k8s.sh b/start-k8s.sh index 3b1b278ae..19358bd1d 100755 --- a/start-k8s.sh +++ b/start-k8s.sh @@ -123,6 +123,9 @@ cur_timestamp="$(date +%s)" end_timestamp="$((cur_timestamp + TIMEOUT_SECONDS))" while true; do if [ "$(date +%s)" -gt "$end_timestamp" ]; then + for pod in $(kubectl get pods -o jsonpath='{.items[*].metadata.name}'); do + kubectl describe pod "$pod" + done echo "Pods are not running" exit 1 fi diff --git a/test-k8s.sh b/test-k8s.sh index 084067a4e..ad53dc269 100755 --- a/test-k8s.sh +++ b/test-k8s.sh @@ -50,7 +50,7 @@ build_and_run_on_k8s() { set -e ./start-k8s.sh --META_DB_PATH "${TEST_ROOT}/env/databases/metadb" \ - --PERFORMANCE_DB_PATH performancedb_path "${TEST_ROOT}/env/databases/performancedb" \ + --PERFORMANCE_DB_PATH "${TEST_ROOT}/env/databases/performancedb" \ --DATA_PATH "${TEST_ROOT}/env/data" \ --LOG_PATH "${LOG_DIR}" \ --AGGREGATE_PATH "${TEST_ROOT}/env/aggregate" \ diff --git a/tests/integration/env_init/aggregate/.keep b/tests/integration/env_init/aggregate/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tests/integration/env_init/databases/metadb/.keep b/tests/integration/env_init/databases/metadb/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/tests/integration/env_init/databases/performancedb/.keep b/tests/integration/env_init/databases/performancedb/.keep new file mode 100644 index 000000000..e69de29bb