-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Disable triggers while reaping a deploymentConfig #2374
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
Disable triggers while reaping a deploymentConfig #2374
Conversation
Can you add a quick test case for this? |
Not sure on how I should go about testing this. The respective Kubernetes unit test doesn't seem to be doing anything noteworthy other than enumerating the HTTP calls... |
@smarterclayton went ahead and added a simple test case, also made an api change to use interfaces for easy testing (eliminates the interface conversion in Stop), ptal |
I've refactored the mock methods under testclient (#2440), will need to update this PR once that gets merged. |
Changes look fine to me, let me know when rebased |
rebased |
LGTM [merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/2062/) (Image: devenv-fedora_1600) |
Evaluated for origin up to 0a1312c |
[Test]ing while waiting on the merge queue |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/2357/) |
Merged by openshift-bot
@smarterclayton @ironcladlou PTAL