Skip to content

Commit b8d7eb0

Browse files
authored
Merge pull request #890 from oracle/use-ready
Use /weblogic/ready for ready probe
2 parents 70275fd + fbb87a8 commit b8d7eb0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

operator/src/main/java/oracle/kubernetes/operator/helpers/PodStepContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public abstract class PodStepContext extends StepContextBase {
6969
private static final String START_SERVER = "/weblogic-operator/scripts/startServer.sh";
7070
private static final String LIVENESS_PROBE = "/weblogic-operator/scripts/livenessProbe.sh";
7171

72-
private static final String READINESS_PATH = "/weblogic/";
72+
private static final String READINESS_PATH = "/weblogic/ready";
7373

7474
private final DomainPresenceInfo info;
7575
private final WlsDomainConfig domainTopology;

operator/src/test/java/oracle/kubernetes/operator/helpers/PodHelperTestBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public void whenPodCreated_livenessProbeHasDefinedTuning() {
278278
@Test
279279
public void whenPodCreated_readinessProbeHasReadinessCommand() {
280280
V1HTTPGetAction getAction = getCreatedPodSpecContainer().getReadinessProbe().getHttpGet();
281-
assertThat(getAction.getPath(), equalTo("/weblogic/"));
281+
assertThat(getAction.getPath(), equalTo("/weblogic/ready"));
282282
assertThat(getAction.getPort().getIntValue(), equalTo(listenPort));
283283
}
284284

0 commit comments

Comments
 (0)