Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishad-M-I-M committed May 18, 2024
1 parent 52bf1d2 commit bf7c5bb
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions start-k8s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test-k8s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
Empty file.
Empty file.
Empty file.

0 comments on commit bf7c5bb

Please sign in to comment.