11/*******************************************************************************
2- * Copyright (c) 2023 IBM Corporation and others.
2+ * Copyright (c) 2023, 2025 IBM Corporation and others.
33 * All rights reserved. This program and the accompanying materials
44 * are made available under the terms of the Eclipse Public License 2.0
55 * which accompanies this distribution, and is available at
@@ -120,6 +120,7 @@ private static void isJava11014() throws IOException {
120120 public void nonExistentLibrary () throws Exception {
121121 server = serverNonExistentLibrary ;
122122 server .startServer ();
123+ server .waitForSSLStart ();
123124
124125 //CWWKG0033W The value [<value>] specified for the reference attribute [libraryRef] was not found in the configuration.
125126 Assert .assertNotNull ("CWWKG0033W Not found" , server .waitForStringInLogUsingMark ("CWWKG0033W" ));
@@ -136,6 +137,7 @@ public void nonExistentLibrary() throws Exception {
136137 public void noMicrometerCore () throws Exception {
137138 server = serverNoMicrometerCore ;
138139 server .startServer ();
140+ server .waitForSSLStart ();
139141
140142 //CWMMC0014I emits that metrics is using libraryRef
141143 Assert .assertNotNull ("CWMMC0014I Not found" , server .waitForStringInLogUsingMark ("CWMMC0014I" ));
@@ -190,6 +192,7 @@ public void externalPrometheusMicrometer() throws Exception {
190192 }
191193
192194 server .startServer ();
195+ server .waitForSSLStart ();
193196
194197 //CWMMC0014I emits that metrics is using libraryRef
195198 Assert .assertNotNull ("CWMMC0014I Not found" , server .waitForStringInLogUsingMark ("CWMMC0014I" ));
@@ -236,6 +239,7 @@ public void externalPrometheusMicrometer() throws Exception {
236239 public void externalMicrometerUselessJar () throws Exception {
237240 server = serverMicrometerUseless ;
238241 server .startServer ();
242+ server .waitForSSLStart ();
239243
240244 //CWMMC0014I emits that metrics is using libraryRef
241245 Assert .assertNotNull ("CWMMC0014I Not found" , server .waitForStringInLogUsingMark ("CWMMC0014I" ));
0 commit comments