kubernetes/pkg/apis/apps/validation
areller a6943ad863
[fix] fix and refactor TestValidateStatefulSet and TestValidateStatefulSet test cases (#109809)
* restructure tests

restructure TestValidateStatefulSet and TestValidateStatefulSetUpdate to be an array and accept list of expected errors. in this commits, no tests were changed and expected errors are not filled yet

* add expected errors

adding expected errors and making the tests pass, without making any changes to the tests

* clean up TestValidateStatefulSet error cases

* clean up TestValidateStatefulSetUpdate cases

* validate new statefulset as part of update validation

* address PR comments
2022-05-24 11:55:24 -07:00
..
validation_test.go [fix] fix and refactor TestValidateStatefulSet and TestValidateStatefulSet test cases (#109809) 2022-05-24 11:55:24 -07:00
validation.go [fix] fix and refactor TestValidateStatefulSet and TestValidateStatefulSet test cases (#109809) 2022-05-24 11:55:24 -07:00