Skip to content
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

Moving to KUTTL #1435

Merged
merged 13 commits into from
Mar 30, 2020
Merged

Moving to KUTTL #1435

merged 13 commits into from
Mar 30, 2020

Conversation

kensipe
Copy link
Member

@kensipe kensipe commented Mar 23, 2020

Recent work around get API resources was using testing code. That needed to be refactored.
If you feel strongly that FakeDiscoveryInterfaceClient should be moved to KUTTL please make it known.

Signed-off-by: Ken Sipe <kensipe@gmail.com>
Signed-off-by: Ken Sipe <kensipe@gmail.com>
@kensipe
Copy link
Member Author

kensipe commented Mar 23, 2020

looks like e2e needs to be looked at

@@ -30,7 +32,7 @@ func TestEnhancerApply_embeddedMetadataStatefulSet(t *testing.T) {

e := &DefaultEnhancer{
Scheme: utils.Scheme(),
Discovery: utils.FakeDiscoveryClient(),
Discovery: fake.CachedDiscoveryClient(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

Copy link
Member

@ANeumann82 ANeumann82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the failing tests, this looks good. As already mentioned, I don't think kuttl needs the CachedDiscoveryInterface.

@gerred
Copy link
Member

gerred commented Mar 24, 2020

I agree with using CachedDiscoveryInterface here and not in kuttl.

Signed-off-by: Ken Sipe <kensipe@gmail.com>
Signed-off-by: Ken Sipe <kensipe@gmail.com>
Signed-off-by: Ken Sipe <kensipe@gmail.com>
Signed-off-by: Ken Sipe <kensipe@gmail.com>
Signed-off-by: Ken Sipe <kensipe@gmail.com>
Signed-off-by: Ken Sipe <kensipe@gmail.com>
Signed-off-by: Ken Sipe <kensipe@gmail.com>
Signed-off-by: Ken Sipe <kensipe@gmail.com>
Signed-off-by: Ken Sipe <kensipe@gmail.com>
@kensipe kensipe merged commit 9a8b2ae into master Mar 30, 2020
@kensipe kensipe deleted the ken/kuttl-integration branch March 30, 2020 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants