-
Notifications
You must be signed in to change notification settings - Fork 216
Backported to 3.4 ItKubernetesEvents changes to remove test dependencies #3008
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
Conversation
sankarpn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
| return domain; | ||
| } | ||
|
|
||
| private static boolean domainHasRollingCondition(Domain domain) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe these conditions doesn't exist in 3.4. It will not make the tests to fail, so its fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove the assertion. It's strange to assert for the lack of a condition that doesn't exist in 3.4.
|
Can you update the pom.xml to replace ItKubernetesEvents to ItKubernetesDomainEvents? |
| import java.util.Arrays; | ||
| import java.util.List; | ||
| import java.util.Map; | ||
| import java.util.Properties; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update the copyright of ItKubernetesDomainEvents.java
// Copyright (c) 2022, Oracle and/or its affiliates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
anpanigr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
| logger.info("Checking if the admin server {0} is shutdown in namespace {1}", | ||
| adminServerPodName, domainNamespace1); | ||
| checkPodDoesNotExist(adminServerPodName, domainUid, domainNamespace1); | ||
| adminServerPodName, domainNamespace5); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have a lot of changed lines where the only change is that you moved the content over another tab stop? Why? If it's just the configuration of your editor, can you update its formatting so that it doesn't make as many unnecessary changes?
|
Kudos, SonarCloud Quality Gate passed!
|
…ies (oracle#3008) * Backported to 3.4 ItKubernetesEvents changes to remove test dependencies
…ies (#3008) * Backported to 3.4 ItKubernetesEvents changes to remove test dependencies








https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/10327/
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/10328/