Sync test script code for KUBECONFIG related operation on prow #3203
Labels
area/refactoring
Issues or PRs related to code refactoring
kind/feature
Categorizes issue as a feature request. For PRs, that means that the PR is the implementation
/kind feature
/kind code-refactoring
Which functionality do you think we should add?
kubectl will prevent multiple concurrent writes to the configuration file: it uses a config.lock file and if the lock exists then changes to the configuration file are prevented which has been fixed in the pr #3041.
Now to make the test code in the same logic need to be implemented for OpenShift cluster, however it does not looks straight forward when running it on prow. I can see different type of failure even after implementing the suggestion given on pr #3041. So i am creating a separate issue make the code in sync for both OpenShift and Kubernetes cluster type.
NOTE: Our existing test code is not broken, actually the --project flag which is saving us from the failure against multiple concurrent writes to the KUBECONFIG configuration file.
Discussion thread - #3041 (comment)
Why is this needed?
Code refactoring and ofcourse syncing of test code for OpenShift and Kubernetes cluster type.
The text was updated successfully, but these errors were encountered: