Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K8SPXC-1537 Update upgrade-consistency test for 1.16.1 release #1931

Merged
merged 3 commits into from
Dec 31, 2024
Merged
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
15 changes: 7 additions & 8 deletions e2e-tests/upgrade-consistency/run
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ main() {
create_infra $namespace

apply_config "$conf_dir/client.yml"
kubectl_bin apply \
-f "$test_dir/conf/secrets.yml"
kubectl_bin apply -f "$test_dir/conf/secrets.yml"
cat_config "$conf_dir/$cluster.yml" \
| yq eval '.spec.crVersion = "1.15.1"' - \
| kubectl_bin apply -f -
Expand All @@ -53,17 +52,17 @@ main() {
compare_kubectl statefulset/$cluster-pxc "-1151"
compare_kubectl statefulset/$cluster-proxysql "-1151"

desc "test 1.16.0"
desc "test 1.16.1"
kubectl_bin patch pxc "$cluster" --type=merge --patch '{
"spec": {"crVersion":"1.16.0"}
"spec": {"crVersion":"1.16.1"}
}'
wait_cluster_consistency "$cluster" 3 2
wait_for_sts_generation "$cluster-pxc" "2" "1"
desc "compare k8s objects"
compare_kubectl service/$cluster-pxc "-1160"
compare_kubectl service/$cluster-proxysql "-1160"
compare_kubectl statefulset/$cluster-pxc "-1160"
compare_kubectl statefulset/$cluster-proxysql "-1160"
compare_kubectl service/$cluster-pxc "-1161"
compare_kubectl service/$cluster-proxysql "-1161"
compare_kubectl statefulset/$cluster-pxc "-1161"
compare_kubectl statefulset/$cluster-proxysql "-1161"

desc "test 1.17.0"
kubectl_bin patch pxc "$cluster" --type=merge --patch '{
Expand Down
Loading