Skip to content

Commit bdd031d

Browse files
authored
Merge pull request #200 from oracle/simon-meng-cn/OWLS-63719
Add NFS test case to integration test suite
2 parents 54eb714 + 40f8a7e commit bdd031d

File tree

1 file changed

+5
-0
lines changed
  • src/integration-tests/bash

1 file changed

+5
-0
lines changed

src/integration-tests/bash/run.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,10 @@ function run_create_domain_job {
809809
sed -i -e "s/^exposeAdminT3Channel:.*/exposeAdminT3Channel: true/" $inputs
810810

811811
# Customize more configuration
812+
if [ "$DOMAIN_UID" == "domain5" ] && [ "$JENKINS" = "true" ] ; then
813+
sed -i -e "s/^weblogicDomainStorageType:.*/weblogicDomainStorageType: NFS/" $inputs
814+
sed -i -e "s/^#weblogicDomainStorageNFSServer:.*/weblogicDomainStorageNFSServer: $NODEPORT_HOST/" $inputs
815+
fi
812816
sed -i -e "s;^#weblogicDomainStoragePath:.*;weblogicDomainStoragePath: $PV_ROOT/acceptance_test_pv/$DOMAIN_STORAGE_DIR;" $inputs
813817
sed -i -e "s/^#domainUID:.*/domainUID: $DOMAIN_UID/" $inputs
814818
sed -i -e "s/^clusterName:.*/clusterName: $WL_CLUSTER_NAME/" $inputs
@@ -2697,6 +2701,7 @@ function test_suite {
26972701
test_domain_lifecycle domain1 domain4
26982702

26992703
# create domain5 in the default namespace with startupControl="ADMIN", and verify that only admin server is created
2704+
# on Jenkins, this domain will also test NFS instead of HOSTPATH PV storage (search for [ "$DOMAIN_UID" == "domain5" ])
27002705
test_create_domain_startup_control_admin domain5
27012706

27022707
# create domain6 in the default namespace with pvReclaimPolicy="Recycle", and verify that the PV is deleted once the domain and PVC are deleted

0 commit comments

Comments
 (0)