Commit c76b587b authored by Thong Kuah's avatar Thong Kuah
Browse files

Merge branch 'fix-verify-deployment-database' into 'master'

Fix failing postgresql-related test

Closes #43

See merge request gitlab-org/cluster-integration/auto-deploy-image!70
parents e950362b bc667fce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
appLabel=$1
dbLabel=$2

pod_name=$(kubectl get pod -l "app=$appLabel" -n "$KUBE_NAMESPACE" -o custom-columns=:metadata.name --no-headers)
pod_name=$(kubectl get pod -l "app=$appLabel" -n "$KUBE_NAMESPACE" --sort-by '{.metadata.creationTimestamp}' -o custom-columns=:metadata.name --no-headers | tail -n 1)

# Wait for DB pod to be ready
count=0