Skip to content

Commit

Permalink
increase timeout waiting for tenant to initialize to 20 minutes
Browse files Browse the repository at this point in the history
Signed-off-by: pjuarezd <[email protected]>
  • Loading branch information
pjuarezd committed Jul 5, 2024
1 parent bc9ae13 commit 7d683ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion testing/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ function check_tenant_status() {

condition=jsonpath='{.status.currentState}'=Initialized
selector="metadata.name=$2"
try wait_for_resource_field_selector "$1" tenant $condition "$selector" 600s
try wait_for_resource_field_selector "$1" tenant $condition "$selector" 1200s

if [ $# -ge 4 ]; then
echo "Fourth argument provided, then get secrets from helm"
Expand Down
2 changes: 0 additions & 2 deletions testing/tenant-hotfix-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ function install_tenant_with_image() {
fi
kustomize build "${SCRIPT_DIR}/../examples/kustomization/tenant-lite" > tenant-lite.yaml
yq -i e "select(.kind == \"Tenant\").spec.image = \"${minio_image}\"" tenant-lite.yaml
yq -i e "select(.kind == \"Tenant\").spec.pools.0.servers = 2" tenant-lite.yaml
#yq -i e "select(.kind == \"Secret\" and .metadata.name == \"storage-configuration\").stringData.\"config.env\" |= sub(\"EC:2\", \"EC:0\")" tenant-lite.yaml

try kubectl apply -f tenant-lite.yaml
}
Expand Down

0 comments on commit 7d683ad

Please sign in to comment.