Skip to content

Commit 521a559

Browse files
sankarpnrjeberhard
authored andcommitted
Fix for nightly failure in main branch - ItFmwDomainOnPVSample
1 parent 2a009ac commit 521a559

File tree

3 files changed

+6
-19
lines changed

3 files changed

+6
-19
lines changed

integration-tests/src/test/java/oracle/weblogic/kubernetes/ItFmwDomainOnPVSample.java

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,9 @@ public static void initAll(@Namespaces(4) List<String> namespaces) {
135135
envMap.put("OKD", "" + OKD);
136136
envMap.put("KIND_CLUSTER", "" + KIND_CLUSTER);
137137
envMap.put("OCNE", "" + OCNE);
138-
139-
if (OCNE) {
140-
envMap.put("OPER_IMAGE_NAME", TEST_IMAGES_PREFIX + IMAGE_NAME_OPERATOR);
141-
envMap.put("DOMAIN_CREATION_IMAGE_NAME", TEST_IMAGES_PREFIX + DOMAIN_CREATION_IMAGE_NAME);
142-
envMap.put("DB_IMAGE_PULL_SECRET", BASE_IMAGES_REPO_SECRET_NAME);
143-
}
138+
envMap.put("OPER_IMAGE_NAME", TEST_IMAGES_PREFIX + IMAGE_NAME_OPERATOR);
139+
envMap.put("DOMAIN_CREATION_IMAGE_NAME", TEST_IMAGES_PREFIX + DOMAIN_CREATION_IMAGE_NAME);
140+
envMap.put("DB_IMAGE_PULL_SECRET", BASE_IMAGES_REPO_SECRET_NAME);
144141

145142
// kind cluster uses openjdk which is not supported by image tool
146143
if (WIT_JAVA_HOME != null) {
@@ -231,15 +228,9 @@ public void testInitialImage() {
231228

232229
// load the image to kind if using kind cluster
233230
String imageCreated;
234-
if (KIND_REPO != null) {
235-
imageCreated = DOMAIN_CREATION_IMAGE_NAME + ":" + DOMAIN_CREATION_IMAGE_JRF_TAG;
236-
logger.info("loading image {0} to kind", imageCreated);
237-
imagePush(imageCreated);
238-
} else if (OCNE) {
239-
imageCreated = TEST_IMAGES_PREFIX + DOMAIN_CREATION_IMAGE_NAME + ":" + DOMAIN_CREATION_IMAGE_JRF_TAG;
240-
logger.info("pushing image {0} to repo", imageCreated);
241-
imagePush(imageCreated);
242-
}
231+
imageCreated = TEST_IMAGES_PREFIX + DOMAIN_CREATION_IMAGE_NAME + ":" + DOMAIN_CREATION_IMAGE_JRF_TAG;
232+
logger.info("pushing image {0} to repo", imageCreated);
233+
imagePush(imageCreated);
243234
}
244235

245236
/**

kubernetes/samples/scripts/create-oracle-db-service/common/oracle.db.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,8 @@ spec:
6464
limits:
6565
cpu: "2"
6666
memory: "6Gi"
67-
ephemeral-storage: "8Gi"
6867
requests:
6968
cpu: 500m
70-
ephemeral-storage: "6Gi"
7169
terminationMessagePath: /dev/termination-log
7270
terminationMessagePolicy: File
7371
dnsPolicy: ClusterFirst

operator/integration-tests/domain-on-pv/run-test.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,6 @@ if [ "$DO_INITIAL_MAIN" = "true" ]; then
393393
testapp internal cluster-1 "Hello World!"
394394
if [ "$OKD" = "true" ]; then
395395
testapp OKD cluster-1 "Hello World!"
396-
else
397-
testapp traefik cluster-1 "Hello World!"
398396
fi
399397
fi
400398

0 commit comments

Comments
 (0)