@@ -413,8 +413,9 @@ public void testAutoAndCustomSitConfigOverrides() throws Exception {
413413 }
414414
415415 /**
416- * test the Rolling restart behavior in the jrf domain cluster level currently there are two bugs
417- * 29678557, 29720185, the test will fail
416+ * test the Rolling restart behavior in the jrf domain cluster level currently during the rolling
417+ * restart, all managed servers may be in the not ready state. Bugs 29678557, 29720185, the test
418+ * will fail before the bugs are fixed
418419 *
419420 * @throws Exception - if any error occurs
420421 */
@@ -497,7 +498,9 @@ public void testJRFDomainClusterRestartVersion() throws Exception {
497498 }
498499
499500 /**
500- * This is the test case to cover bug 29684570.
501+ * In create domain input yaml file, set exposeAdminNodePort to false and exposeAdminT3Channel to
502+ * true, make sure the managed server pods are created. Bug 29684570, the test will fail before
503+ * the bug is fixed
501504 *
502505 * @throws Exception - if any error occurs
503506 */
@@ -540,7 +543,9 @@ public void testJRFDomainMSPodCreated() throws Exception {
540543 }
541544
542545 /**
543- * This is the test case to cover bug 29683926
546+ * In create domain input yaml file, set createDomainScriptsMountPath to non-default value, make
547+ * sure the create domain sample script works. Bug 29683926, the test will fail before the bug is
548+ * fixed
544549 *
545550 * @throws Exception - if any error occurs
546551 */
@@ -583,7 +588,9 @@ public void testJRFDomainCreateDomainScriptsMountPath() throws Exception {
583588 }
584589
585590 /**
586- * This test case is to cover bug 29657663
591+ * In createFMWDomain.py file, set administration_port_enabled to true. Make sure the admin server
592+ * pod is running and ready. All the managed server pods are created. Bug 29657663, the test will
593+ * fail before the bug is fixed
587594 *
588595 * @throws Exception
589596 */
@@ -627,7 +634,8 @@ public void testJRFDomainAdminPortEnabled() throws Exception {
627634 }
628635
629636 /**
630- * This test case is to cover 29591809
637+ * In create domain input file, set exposeAdminT3Channel to true. Make sure the admin t3 channel
638+ * is exposed. Bug 29591809, the test will fail before the bug is fixed
631639 *
632640 * @throws Exception - if any error occurs
633641 */
@@ -694,6 +702,12 @@ private void testDeployAppUsingAdminPort(JRFDomain domain) throws Exception {
694702 domain .verifyWebAppLoadBalancing (TESTWEBAPP );
695703 }
696704
705+ /**
706+ * basic test cases
707+ *
708+ * @param domain - jrfdomain
709+ * @throws Exception - if any error occurs
710+ */
697711 private void testBasicUseCases (JRFDomain domain ) throws Exception {
698712 // Bug 29591809
699713 // TODO: re-enable the test once the bug is fixed
@@ -702,6 +716,13 @@ private void testBasicUseCases(JRFDomain domain) throws Exception {
702716 testAdminServerExternalService (domain );
703717 }
704718
719+ /**
720+ * advanced test cases
721+ *
722+ * @param operator - weblogic operator
723+ * @param domain - jrfdomain
724+ * @throws Exception - if any error occurs
725+ */
705726 private void testAdvancedUseCasesForADomain (Operator operator , JRFDomain domain )
706727 throws Exception {
707728 if (!SMOKETEST ) {
@@ -712,6 +733,15 @@ private void testAdvancedUseCasesForADomain(Operator operator, JRFDomain domain)
712733 }
713734 }
714735
736+ /**
737+ * verify that during the rolling restart, the number of managed server pods which are not ready
738+ * can not exceed the maxUnAvailable value
739+ *
740+ * @param domain - jrfdomain
741+ * @param expectedMSPodsCount - total number of managed server pods expected
742+ * @param maxUnavailable - maxUnAvailable value of the managed server pods
743+ * @throws Exception - if any error occurs
744+ */
715745 private void verifyMSPodsNotReadyCountNotExceedMaxUnAvailable (
716746 JRFDomain domain , int expectedMSPodsCount , int maxUnavailable ) throws Exception {
717747 int i = 0 ;
@@ -747,6 +777,13 @@ private void verifyMSPodsNotReadyCountNotExceedMaxUnAvailable(
747777 }
748778 }
749779
780+ /**
781+ * get the number of managed server pods which are not ready
782+ *
783+ * @param domain - jrfdomain
784+ * @return - returns the number of managed server pods which are not ready
785+ * @throws Exception - if any error occurs
786+ */
750787 private int getMSPodsNotReadyCount (JRFDomain domain ) throws Exception {
751788
752789 String managedServerNameBase = (String ) domain .getDomainMap ().get ("managedServerNameBase" );
@@ -761,6 +798,13 @@ private int getMSPodsNotReadyCount(JRFDomain domain) throws Exception {
761798 return Integer .parseInt (result .stdout ());
762799 }
763800
801+ /**
802+ * get the number of managed server pods which are running and ready
803+ *
804+ * @param domain - jrfdomain
805+ * @return - returns the number of managed server pods which are running and ready
806+ * @throws Exception - if any error occurs
807+ */
764808 private int getMSPodsRunningAndReadyCount (JRFDomain domain ) throws Exception {
765809
766810 String managedServerNameBase = (String ) domain .getDomainMap ().get ("managedServerNameBase" );
@@ -775,6 +819,13 @@ private int getMSPodsRunningAndReadyCount(JRFDomain domain) throws Exception {
775819 return Integer .parseInt (result .stdout ());
776820 }
777821
822+ /**
823+ * get the number of managed server pods created
824+ *
825+ * @param domain - jrfdomain
826+ * @return - returns the number of managed server pods created
827+ * @throws Exception - if any error occurs
828+ */
778829 private int getMSPodsCount (JRFDomain domain ) throws Exception {
779830 String managedServerNameBase = (String ) domain .getDomainMap ().get ("managedServerNameBase" );
780831 StringBuffer cmd = new StringBuffer ();
0 commit comments