Skip to content

Commit fe772f1

Browse files
committed
updated readme
1 parent 3e2dc56 commit fe772f1

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

integration-tests/README.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,21 @@ Certain properties like weblogicDomainStoragePath, image, externalOperatorCert a
169169

170170
# How does it work
171171

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:**
176187

177188
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.
178189

@@ -182,7 +193,7 @@ staticUnPrepare() - releases the cluster lease on wercker env.
182193

183194
test methods - testDomainOnPVUsingWLST, testDomainOnPVUsingWDT, testTwoDomainsManagedByTwoOperators, testCreateDomainWithStartPolicyAdminOnly, testCreateDomainPVReclaimPolicyRecycle, testCreateDomainWithDefaultValuesInSampleInputs, testAutoAndCustomSitConfigOverrides, testOperatorRESTIdentityBackwardCompatibility, testOperatorRESTUsingCertificateChain
184195

185-
Utility classes:
196+
**Utility classes:**
186197

187198
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>
188199
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

Comments
 (0)