Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions cluster/local/integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,7 @@ setup_mariadb_no_tls() {
"${KUBECTL}" apply -f ${scriptdir}/mariadb.server.yaml

echo_step "Waiting for MariaDB to be ready"
"${KUBECTL}" wait --for=create pod mariadb-0
"${KUBECTL}" wait --for=condition=ready pod -l app=mariadb --timeout=120s
"${KUBECTL}" rollout status statefulset/mariadb --timeout=120s
}

setup_mariadb_tls() {
Expand All @@ -331,8 +330,7 @@ setup_mariadb_tls() {
"${KUBECTL}" apply -f "${scriptdir}/mariadb.tls.server.yaml"

echo_step "Waiting for MariaDB to be ready"
"${KUBECTL}" wait --for=create pod mariadb-0
"${KUBECTL}" wait --for=condition=ready pod -l app=mariadb --timeout=120s
"${KUBECTL}" rollout status statefulset/mariadb --timeout=120s
}

cleanup_mariadb() {
Expand Down
3 changes: 1 addition & 2 deletions cluster/local/mssqldb_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ setup_mssql() {
"${KUBECTL}" apply -f ${scriptdir}/mssql.server.yaml

echo_step "Waiting for MSSQL Server to be ready"
"${KUBECTL}" wait --for=create pod mssql-0
"${KUBECTL}" wait --for=condition=ready pod -l app=mssql --timeout=300s
"${KUBECTL}" rollout status statefulset/mssql --timeout=300s

# Wait a bit more for MSSQL to be fully ready for connections
sleep 30
Expand Down
2 changes: 1 addition & 1 deletion cluster/local/postgresdb_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ setup_postgresdb_no_tls() {
"${KUBECTL}" apply -f "${scriptdir}/postgres.server.yaml"

echo_step "Waiting for PostgreSQL to be ready"
"${KUBECTL}" wait --for=condition=ready pod -l app=postgresdb-postgresql --timeout=120s
"${KUBECTL}" rollout status statefulset/postgresdb-postgresql --timeout=120s

"${KUBECTL}" port-forward --namespace default svc/postgresdb-postgresql 5432:5432 &
PORT_FORWARD_PID=$!
Expand Down
Loading