Skip to content

Commit

Permalink
do not expect new license file to exist in old-version-upgrade tests
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya committed Dec 30, 2024
1 parent 2536d54 commit 375a623
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions e2e/scripts/check-airgap-installation-state.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ main() {
# if this is the current version in CI
if echo "$version" | grep -qvE "(pre-minio-removal|1.8.0-k8s)" ; then
validate_data_dirs

if ! ensure_license_in_data_dir; then
exit 1
fi
fi

validate_no_pods_in_crashloop
Expand Down
4 changes: 4 additions & 0 deletions e2e/scripts/check-installation-state.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ main() {
# if this is the current version in CI
if echo "$version" | grep -qvE "(pre-minio-removal|1.8.0-k8s)" ; then
validate_data_dirs

if ! ensure_license_in_data_dir; then
exit 1
fi
fi

validate_no_pods_in_crashloop
Expand Down
4 changes: 0 additions & 4 deletions e2e/scripts/single-node-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,6 @@ main() {

echo "all pods"
kubectl get pods -A

if ! ensure_license_in_data_dir; then
exit 1
fi
}

main "$@"

0 comments on commit 375a623

Please sign in to comment.