Skip to content

Commit 76a1064

Browse files
Update README.md
1 parent 37029b6 commit 76a1064

File tree

1 file changed

+44
-44
lines changed

1 file changed

+44
-44
lines changed

integration-tests/README.md

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,31 @@ The tests currently runs in three modes, "Wercker", "Jenkins", and "standalone"
1414

1515
Currently java integration tests cover only QUICK_TEST use cases from run.sh. The below are the use cases:
1616

17-
* create operator operator1 which manages default and test1 namespaces, verify its deployed successfully, pod created, operator Ready and verify external REST service if configured
18-
* create domain domain1 in default namespace and verify the pods, services are created and servers are in Ready
19-
* verify admin external service by accessing admin REST endpoint with nodeport in URL
20-
* verify admin t3 channel port by exec into the admin pod and deploying webapp using the channel port for WLST
21-
* verify web app load balancing – TO DO, Apache, Voyager
22-
* verify domain life cycle(destroy and create) should not any impact on Operator managing the domain and web app load balancing and admin external service
23-
* cluster scale up/down using Operator REST endpoint, webapp load balancing should adjust accordingly. (run.sh does scaling by editing the replicas in domain-custom-resource.yaml.)
24-
* Operator life cycle(destroy and create) should not impact the running domain
17+
* create operator operator1 which manages default and test1 namespaces, verify its deployed successfully, pod created, operator Ready and verify external REST service if configured
18+
* create domain domain1 in default namespace and verify the pods, services are created and servers are in Ready
19+
* verify admin external service by accessing admin REST endpoint with nodeport in URL
20+
* verify admin t3 channel port by exec into the admin pod and deploying webapp using the channel port for WLST
21+
* verify web app load balancing – TO DO, Apache, Voyager
22+
* verify domain life cycle(destroy and create) should not any impact on Operator managing the domain and web app load balancing and admin external service
23+
* cluster scale up/down using Operator REST endpoint, webapp load balancing should adjust accordingly. (run.sh does scaling by editing the replicas in domain-custom-resource.yaml.)
24+
* Operator life cycle(destroy and create) should not impact the running domain
2525

2626
Non-quick test use cases
2727

28-
* keep the first domain and operator running
29-
* create another domain domain2 in default namespace and verify the domain by doing the checks 2 - 5 listed in quick test
30-
* destroy domain domain2
31-
* create another domain domain3 in test1 namespace and verify the domain by doing the checks 2 - 5 listed in quick test
32-
* destroy domain domain3
33-
* create another operator operator2 which manages test2 namespace and verify domain1 is not affected
34-
* create another domain domain4 in test2 namespace and verify the domain by doing the checks 2 - 5 listed in quick test
35-
* verify scaling for domain4 cluster from 2 to 3 servers and back to 2, plus verify no impact on domain1
36-
* cycle domain1 down and back up, plus verify no impact on domain4
37-
* create domain5 in the default namespace with startupControl="ADMIN", and verify that only admin server is created. on Jenkins, this domain will also test NFS instead of HOSTPATH PV storage
38-
* create domain6 in the default namespace with pvReclaimPolicy="Recycle", and verify that the PV is deleted once the domain and PVC are deleted
39-
* test managed server 1 pod auto-restart in domain1
40-
* destroy domain1
41-
* test that create domain fails when its pv is already populated by a shutdown domain
28+
* keep the first domain and operator running
29+
* create another domain domain2 in default namespace and verify the domain by doing the checks 2 - 5 listed in quick test
30+
* destroy domain domain2
31+
* create another domain domain3 in test1 namespace and verify the domain by doing the checks 2 - 5 listed in quick test
32+
* destroy domain domain3
33+
* create another operator operator2 which manages test2 namespace and verify domain1 is not affected
34+
* create another domain domain4 in test2 namespace and verify the domain by doing the checks 2 - 5 listed in quick test
35+
* verify scaling for domain4 cluster from 2 to 3 servers and back to 2, plus verify no impact on domain1
36+
* cycle domain1 down and back up, plus verify no impact on domain4
37+
* create domain5 in the default namespace with startupControl="ADMIN", and verify that only admin server is created. on Jenkins, this domain will also test NFS instead of HOSTPATH PV storage
38+
* create domain6 in the default namespace with pvReclaimPolicy="Recycle", and verify that the PV is deleted once the domain and PVC are deleted
39+
* test managed server 1 pod auto-restart in domain1
40+
* destroy domain1
41+
* test that create domain fails when its pv is already populated by a shutdown domain
4242

4343

4444
# Directory Configuration and Structure
@@ -57,8 +57,8 @@ Directory structure used for the test run:
5757

5858
Main external env vars:
5959

60-
| RESULT_ROOT | Root path for local test files. |
61-
| PV_ROOT | Root NFS path behind PV/C directories. This must have permissions suitable for WL pods to add files |
60+
| RESULT_ROOT | Root path for local test files. |
61+
| PV_ROOT | Root NFS path behind PV/C directories. This must have permissions suitable for WL pods to add files |
6262

6363
Defaults for RESULT_ROOT & PV_ROOT:
6464

@@ -78,10 +78,10 @@ Defaults for RESULT_ROOT & PV_ROOT:
7878
RESULT_ROOT/acceptance_test_tmp_archive/...
7979

8080
'Logical' to 'Physical' K8S PV/PVC mappings:
81-
| 'Logical' | 'Actual' |
82-
| --- | --- |
83-
| job.sh job: | /scratch <--> PV_ROOT on K8S machines |
84-
| domain pod: | /shared <--> PV_ROOT/acceptance_test_pv/persistentVolume-${domain_uid} on K8S machines |
81+
| 'Logical' | 'Actual' |
82+
| --- | --- |
83+
| job.sh job: | /scratch <--> PV_ROOT on K8S machines |
84+
| domain pod: | /shared <--> PV_ROOT/acceptance_test_pv/persistentVolume-${domain_uid} on K8S machines |
8585

8686
# Configuration Files
8787

@@ -163,36 +163,36 @@ set the optional env vars described below
163163

164164
The tests accepts optional env var overrides:
165165

166-
RESULT_ROOT The root directory to use for the tests temporary files.
166+
| RESULT_ROOT | The root directory to use for the tests temporary files.
167167
See "Directory Configuration and Structure" below for
168-
defaults and a detailed description of test directories.
168+
defaults and a detailed description of test directories. |
169169

170-
PV_ROOT The root directory on the kubernetes cluster
170+
| PV_ROOT | The root directory on the kubernetes cluster
171171
used for persistent volumes.
172172
See "Directory Configuration and Structure" below for
173-
defaults and a detailed description of test directories.
173+
defaults and a detailed description of test directories. |
174174

175-
QUICKTEST When set to "true", limits testing to a subset of
176-
of the tests.
175+
| QUICKTEST | When set to "true", limits testing to a subset of
176+
of the tests. |
177177

178-
WERCKER Set to true if invoking from Wercker, set
178+
| WERCKER | Set to true if invoking from Wercker, set
179179
to false or "" if running stand-alone or from Jenkins.
180-
Default is "".
180+
Default is "". |
181181

182-
JENKINS Set to true if invoking from Jenkins, set
182+
| JENKINS | Set to true if invoking from Jenkins, set
183183
to false or "" if running stand-alone or from Wercker.
184-
Default is "".
184+
Default is "". |
185185

186-
NODEPORT_HOST DNS name of a Kubernetes worker node.
187-
Default is the local host's hostname.
186+
| NODEPORT_HOST | DNS name of a Kubernetes worker node.
187+
Default is the local host's hostname. |
188188

189-
BRANCH_NAME Git branch name.
190-
Default is determined by calling 'git branch'.
189+
| BRANCH_NAME | Git branch name.
190+
Default is determined by calling 'git branch'. |
191191

192-
LEASE_ID Set to a unique value to (A) periodically renew a lease on
192+
| LEASE_ID | Set to a unique value to (A) periodically renew a lease on
193193
the k8s cluster that indicates that no other test run
194194
should attempt to use the cluster, and (B)
195-
delete this lease when the test completes.
195+
delete this lease when the test completes. |
196196

197197
The following additional overrides are currently only used when
198198
WERCKER=true:

0 commit comments

Comments
 (0)