Skip to content

Commit 8fd3150

Browse files
authored
backport owls-96203 ( FmwSample Failure ) (#2761)
* Backport owls-96203 * remove voyager tests
1 parent 30689ce commit 8fd3150

File tree

4 files changed

+8
-24
lines changed

4 files changed

+8
-24
lines changed

integration-tests/pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,8 @@
361361
**/ItMiiDynamicUpdate,
362362
**/ItMiiSampleWlsMain,
363363
**/ItMiiSampleWlsAux,
364+
**/ItFmwSample,
365+
**/ItWlsSamples,
364366
**/ItMiiMultiModel
365367
</includes-failsafe>
366368
</properties>

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

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ class ItWlsSamples {
8787

8888
private static String traefikNamespace = null;
8989
private static String nginxNamespace = null;
90-
private static String voyagerNamespace = null;
9190
private static String domainNamespace = null;
9291
private static final String domainName = "domain1";
9392
private static final String diiImageNameBase = "domain-home-in-image";
@@ -119,7 +118,7 @@ class ItWlsSamples {
119118
* @param namespaces injected by JUnit
120119
*/
121120
@BeforeAll
122-
public static void initAll(@Namespaces(5) List<String> namespaces) {
121+
public static void initAll(@Namespaces(4) List<String> namespaces) {
123122
logger = getLogger();
124123

125124
logger.info("Assign a unique namespace for operator");
@@ -137,10 +136,6 @@ public static void initAll(@Namespaces(5) List<String> namespaces) {
137136
assertNotNull(namespaces.get(3), "Namespace is null");
138137
nginxNamespace = namespaces.get(3);
139138

140-
logger.info("Assign a unique namespace for Voyager controller");
141-
assertNotNull(namespaces.get(4), "Namespace is null");
142-
voyagerNamespace = namespaces.get(4);
143-
144139
// create pull secrets for WebLogic image when running in non Kind Kubernetes cluster
145140
// this secret is used only for non-kind cluster
146141
createSecretForBaseImages(domainNamespace);
@@ -368,23 +363,10 @@ void testTraefikIngressController() {
368363
setupLoadBalancer(scriptBase, "traefik", " -d -n " + traefikNamespace);
369364
}
370365

371-
/**
372-
* Verify setupLoadBalancer scripts for managing Voyager LoadBalancer.
373-
*/
374-
@Order(8)
375-
@Test
376-
@DisplayName("Manage Voyager Ingress Controller with setupLoadBalancer")
377-
void testVoyagerIngressController() {
378-
setupSample();
379-
Path scriptBase = Paths.get(tempSamplePath.toString(), "charts/util");
380-
setupLoadBalancer(scriptBase, "voyager", " -c -n " + voyagerNamespace);
381-
setupLoadBalancer(scriptBase, "voyager", " -d -n " + voyagerNamespace);
382-
}
383-
384366
/**
385367
* Verify setupLoadBalancer scripts for managing Nginx LoadBalancer.
386368
*/
387-
@Order(9)
369+
@Order(8)
388370
@Test
389371
@DisplayName("Manage Nginx Ingress Controller with setupLoadBalancer")
390372
void testNginxIngressController() {

kubernetes/samples/scripts/create-fmw-infrastructure-domain/domain-home-on-pv/wdt_k8s_model_template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2017, 2021, Oracle and/or its affiliates.
1+
# Copyright (c) 2017, 2022, Oracle and/or its affiliates.
22

33
#
44
# This is the template for kubernetes section for wdt_model file. This
@@ -88,7 +88,7 @@ kubernetes:
8888
%EXPOSE_ANY_CHANNEL_PREFIX% default:
8989
%EXPOSE_ADMIN_PORT_PREFIX% nodePort: %ADMIN_NODE_PORT%
9090
# Uncomment to export the T3Channel as a service
91-
%EXPOSE_T3_CHANNEL_PREFIX% T3Channel:
91+
%EXPOSE_T3_CHANNEL_PREFIX% T3Channel:
9292

9393
# Istio service mesh support is experimental.
9494
%ISTIO_PREFIX%configuration:

kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/wdt_k8s_model_template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2017, 2021, Oracle and/or its affiliates.
1+
# Copyright (c) 2017, 2022, Oracle and/or its affiliates.
22

33
#
44
# This is the template for kubernetes section for wdt_model file. This
@@ -89,7 +89,7 @@ kubernetes:
8989
%EXPOSE_ANY_CHANNEL_PREFIX% default:
9090
%EXPOSE_ADMIN_PORT_PREFIX% nodePort: %ADMIN_NODE_PORT%
9191
# Uncomment to export the T3Channel as a service
92-
%EXPOSE_T3_CHANNEL_PREFIX% T3Channel:
92+
%EXPOSE_T3_CHANNEL_PREFIX% T3Channel:
9393

9494
# clusters is used to configure the desired behavior for starting member servers of a cluster.
9595
# If you use this entry, then the rules will be applied to ALL servers that are members of the named clusters.

0 commit comments

Comments
 (0)