You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: integration-tests/README.md
+16-5Lines changed: 16 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -169,10 +169,21 @@ Certain properties like weblogicDomainStoragePath, image, externalOperatorCert a
169
169
170
170
# How does it work
171
171
172
-
When the tests are run manually with mvn command on hosted Linux, WebLogic image store/oracle/weblogic:12.2.1.3 is pulled from docker hub or uses local image if one exists. Server jre images are pulled from a local repository wlsldi-v2.docker.oraclecorp.com. Operator image is built with the git branch from where the mvn command is executed.
173
-
All the tests that start with IT*.java in integration-tests/src/test/java are run. The test runs a series of tests and archives the results into jar files upon completion.
174
-
175
-
Integration test classes:
172
+
When the tests are run with mvn command,
173
+
- cleanup the test tmp files, PV dir and k8s artifacts created for the test if any
174
+
- creates the required secrets to pull the WL image from docker hub
175
+
- Operator image is built with the git branch from where the mvn command is executed.
176
+
- creates Operator and verifies operator is running
177
+
- creates Domain crd using samples
178
+
- verifies the domain is started and servers are ready, services are created
179
+
- executes the basic and advanced use cases
180
+
- shutdown the domain
181
+
- archive logs and results
182
+
- cleanup the tmp files, PV dir and k8s artifacts created for the test
183
+
184
+
All the tests that start with IT*.java in integration-tests/src/test/java are run.
185
+
186
+
**Integration test classes:**
176
187
177
188
When the integration test class ITOperator is executed, staticPrepare() method is called once before any of the test methods in the class and staticUnPrepare() method once at the end.
178
189
@@ -182,7 +193,7 @@ staticUnPrepare() - releases the cluster lease on wercker env.
Operator - constructor takes yaml file with operator properties and generates operator valus yaml with required properties and certs, creates service account, namespace and calls helm install using the generated values yaml file. Also contains methods to delete operator release, verify operator created and ready, scale using rest api, verify a given domain via rest, verify external rest service, etc <p>
188
199
Domain - constructor takes Map with domain, LB, PV properties and creates domain crd, LB operator/ingress and PV artifacts using the sample scripts provided in the project. Also contains helper methods to destroy domain by deleting domain crd, verify domain created and servers are ready, deploy webapp, verify load balancing of http requests, etc <p>
0 commit comments