-
Notifications
You must be signed in to change notification settings - Fork 25
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
BDD e2e test #7
Comments
Can I take this up? |
@pratyushprakash Sure! let's have a discussion on the design so that we are aligned. Maybe a good start is a separate package that takes in a kubeconfig or uses active cluster context if not provided to run tests. this can live under some basic example exists here https://github.com/keikoproj/instance-manager/tree/master/test-bdd An easy start is maybe doing a few tests scenarios for pod-reaper which should be much easier than testing node-reaper. Suggest we use Gingko (https://github.com/onsi/ginkgo) but open for other frameworks if you have any preference. Scenarios we should look at for pod reaper:
How to reproduce a stuck pod for testing
Once we have the code, we can add separate issue for making sure it runs nightly in travis-ci. The above should be an easy start at this, WDYT @pratyushprakash ? |
governor packages should have a end to end functional test.
we can have a travis cronjob that runs nightly and run this test
test should:
hostNetwork
and runip link set dev eth0 down
, node will become NotReady, let reaper kill itThe text was updated successfully, but these errors were encountered: