use patch instead of replace to test the dry-run option

This commit is contained in:
Carlos Panato
2020-10-23 15:10:54 +02:00
parent cd99c63570
commit a9ff313c5b
2 changed files with 6 additions and 10 deletions

View File

@@ -1476,9 +1476,9 @@
codename: '[sig-cli] Kubectl client Kubectl server-side dry-run should check if
kubectl can dry-run update Pods [Conformance]'
description: The command 'kubectl run' must create a pod with the specified image
name. After, the command 'kubectl replace --dry-run=server' should update the
Pod with the new image name and server-side dry-run enabled. The image name must
not change.
name. After, the command 'kubectl patch pod -p {...} --dry-run=server' should
update the Pod with the new image name and server-side dry-run enabled. The image
name must not change.
release: v1.19
file: test/e2e/kubectl/kubectl.go
- testname: Kubectl, version