mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Fix assertion for old test-cmd.sh
This commit is contained in:
parent
33b3d99b96
commit
a68c5c4f36
@ -547,7 +547,7 @@ __EOF__
|
|||||||
|
|
||||||
### Perform a rolling update with --image
|
### Perform a rolling update with --image
|
||||||
# Pre-condition status.Replicas is 3, otherwise the rcmanager could update it and interfere with the rolling update
|
# Pre-condition status.Replicas is 3, otherwise the rcmanager could update it and interfere with the rolling update
|
||||||
kube::test::get_object_assert 'rc frontend' "{{$rc_status_replicas_field}}" '3'
|
kube::test::get_object_assert 'rc frontend' "{{$rc_replicas_field}}" '3'
|
||||||
# Command
|
# Command
|
||||||
kubectl rolling-update frontend --image=kubernetes/pause --update-period=10ns --poll-interval=10ms "${kube_flags[@]}"
|
kubectl rolling-update frontend --image=kubernetes/pause --update-period=10ns --poll-interval=10ms "${kube_flags[@]}"
|
||||||
# Post-condition: current image IS kubernetes/pause
|
# Post-condition: current image IS kubernetes/pause
|
||||||
|
Loading…
Reference in New Issue
Block a user