mirror of
https://github.com/outbackdingo/qdrant-helm.git
synced 2026-01-27 18:20:15 +00:00
17 lines
559 B
Bash
17 lines
559 B
Bash
@test "Rolling update" {
|
|
run kubectl rollout restart sts/qdrant -n distributed-update-test
|
|
[ $status -eq 0 ]
|
|
}
|
|
|
|
setup() {
|
|
# Using a custom namespace to avoid side effects with other tests
|
|
kubectl create ns distributed-update-test
|
|
helm upgrade --install qdrant charts/qdrant -n distributed-update-test --wait --timeout 3m --set replicaCount=3 --set image.tag=v1.7.3
|
|
kubectl rollout status statefulset qdrant -n distributed-update-test
|
|
}
|
|
|
|
teardown() {
|
|
helm uninstall qdrant -n distributed-update-test
|
|
kubectl delete ns distributed-update-test
|
|
}
|