-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make passing Travis required for merge #13
Comments
@saad-ali to really test it that would require a k8s cluster or minikube, should I add a sort of integration test, brining k8s and then starting liveness probe? |
Travis runs So yes, let's make travis mandatory, but also let's prepare real tests. Liveness probe is a simple executable that talks to CSI driver and returns error when |
@jsafrane I can add a small script to travis to start hostpath driver and liveness probe and check the result of a probe. Would it be sufficient for testing? |
Yes, that's a good start. And a script that runs just the probe and no driver (-> timeout or connection refused? -> nozero exit code) should be easy too and it would cover one error case. |
When you're ready to implement this, open a PR to https://github.com/kubernetes/test-infra/blob/master/prow/config.yaml eg: for kubernetes-csi/external-attacher https://github.com/kubernetes/test-infra/blob/master/prow/config.yaml#L172-L175 |
prow enhancements
Rebase to v2.0.0
Make passing Travis required for merge
xref kubernetes/test-infra#9014 (comment)
/assign @sbezverk
The text was updated successfully, but these errors were encountered: