Skip to content

Conversation

sankarpn
Copy link
Member

@sankarpn sankarpn commented May 12, 2022

  • When tests are running with WebLogic slim image the verifyCredentials method has to be passed with adminSvcExtHost parameter if the platform is OKD in integration-tests/src/test/java/oracle/weblogic/kubernetes/ItMiiDomain.java
  • The integration-tests/src/test/java/oracle/weblogic/kubernetes/ItMultiDomainModels.java had assumeFalse in the test method causing the test to show as Failed when running with slim image. The fix is to skip the test if the test is running with WebLogic slim image.
  • Fix the domain path in the testDataHomeOverrideDomainOnPV() since the domain resource is changed to use a uniquePath

KIND

https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/10599/ (testDataHomeOverrideDomainOnPV)

OKD

https://build.weblogick8s.org:8443/job/wko-okd-test/331/ (if image is slim - ItMultiDomainModels)
https://build.weblogick8s.org:8443/job/wko-okd-test/332/ (if image is full - ItMultiDomainModels)

https://build.weblogick8s.org:8443/job/wko-okd-test/334/ (ItMiiDomain with slim image)
https://build.weblogick8s.org:8443/job/wko-okd-test/334/ (ItMiiDomain with full image)

sankarpn added 3 commits May 12, 2022 08:18
Disable if WEBLOGIC_SLIM image
fix adminCredentialsVerification with adminSvcExtHost set for OKD
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@anpanigr anpanigr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@xiancao xiancao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@maggiehe00 maggiehe00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rjeberhard rjeberhard merged commit dd9f7c5 into release/3.4 May 13, 2022
@rjeberhard rjeberhard deleted the altrantest-fix-051222 branch May 13, 2022 00:19
rjeberhard pushed a commit to rjeberhard/weblogic-kubernetes-operator that referenced this pull request Apr 14, 2023
* Fix domain path
Disable if WEBLOGIC_SLIM image
fix adminCredentialsVerification with adminSvcExtHost set for OKD

* disable test if WEBLOGIC_SLIM system property is true

* use annotations to disable tests on slim image
rjeberhard pushed a commit that referenced this pull request Apr 19, 2023
* Fix domain path
Disable if WEBLOGIC_SLIM image
fix adminCredentialsVerification with adminSvcExtHost set for OKD

* disable test if WEBLOGIC_SLIM system property is true

* use annotations to disable tests on slim image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants