File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
marklogic-client-api-functionaltests Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ def runtests(String type, String version){
3333 export GRADLE_USER_HOME=$WORKSPACE/$GRADLE_DIR
3434 export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
3535 cd java-client-api
36- ./gradlew marklogic-client-api-functionaltests:test || true
36+ ./gradlew mlDeploy
37+ ./gradlew marklogic-client-api-functionaltests:testFastFunctionalTests || true
38+ ./gradlew marklogic-client-api-functionaltests:testSlowFunctionalTests || true
3739 '''
3840 sh label :' post-test-process' , script : '''
3941 cd $WORKSPACE/java-client-api/marklogic-client-api/build/test-results/test/
@@ -81,6 +83,7 @@ pipeline{
8183 export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
8284 cd java-client-api
8385 ./gradlew marklogic-client-api:test || true
86+ ./gradlew marklogic-client-api-functionaltests:testFastFunctionalTests || true
8487 '''
8588 sh label :' ml development tool test' , script : ''' #!/bin/bash
8689 export JAVA_HOME=$JAVA_HOME_DIR
Original file line number Diff line number Diff line change @@ -35,3 +35,14 @@ dependencies {
3535
3636 testImplementation group : ' ch.qos.logback' , name : ' logback-classic' , version :' 1.2.11'
3737}
38+
39+ task testFastFunctionalTests (type : Test ) {
40+ description = " Run all fast functional tests that don't setup/teardown custom app servers / databases"
41+ include " com/marklogic/client/fastfunctest/**"
42+ }
43+
44+ task testSlowFunctionalTests (type : Test ) {
45+ description = " Run slow functional tests; i.e. those that setup/teardown custom app servers / databases"
46+ include " com/marklogic/client/datamovement/functionaltests/**"
47+ include " com/marklogic/client/functionaltest/**"
48+ }
You can’t perform that action at this time.
0 commit comments