-
Notifications
You must be signed in to change notification settings - Fork 217
Remove t3 channel in IT tests and add it to separate IT class. #2036
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
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.
Both Jenkins runs failed at oracle.weblogic.kubernetes.ItExternalRmiTunneling.testExternalRmiAccessThruHttpsTunneling. Is this expected?
@@ -289,6 +326,197 @@ public void testDedicatedModeNoCrd() { | |||
} | |||
} | |||
|
|||
/** |
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.
Is it possible to add t3channel to the existing MII domain used in the dedicated mode tests and use that to deploy the application using WLST instead of adding new domain? It saves time by not bringing up a new 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 don't want to modify the common model file used for this image MII_BASIC_IMAGE_NAME + ":" + MII_BASIC_IMAGE_TAG because it is shared by many tests.
Since anyway this test is running alone, the time it take to run this test shouldn't matter IMO.
@@ -397,6 +625,45 @@ private void verifyDomainNotRunning(String domainNamespace) { | |||
} | |||
} | |||
|
|||
private static void verifyMemberHealth(String adminServerPodName, List<String> managedServerNames, |
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.
move this into an util class
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.
This method uses a specific app deployed in the test method. Its not a member for util class.
int t3ChannelNodePort = assertDoesNotThrow(() | ||
-> getServiceNodePort(domain1Namespace, getExternalServicePodName(adminServerPodName), "t3channel"), | ||
"Getting admin server t3channel node port failed"); | ||
logger.info("techannel channel node port: {0}", t3ChannelNodePort); |
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.
logger.info("techannel channel node port: {0}", t3ChannelNodePort); | |
logger.info("t3channel channel node port: {0}", t3ChannelNodePort); |
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
Thanks for pointing out. Fixed it. The ItExternalRmiTunneling was using a wrong api to get the service port and the test was failing intermittently. Updated the test to use correct api. |
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.
LG.
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.
Need to modify the kindtest.sh to exclude ItT3Channel test in Parallel run and include it in sequential run.
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
Full test suite results
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/3076/testReport/oracle.weblogic.kubernetes/