Skip to content

Commit 2c901b7

Browse files
committed
Another attempt to fix tests
Reloading schemas to ensure that the previous name of schemas is not in the schemas database.
1 parent a0f605b commit 2c901b7

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def runAllTests(String type, String version, Boolean useReverseProxy){
2121
export GRADLE_USER_HOME=$WORKSPACE/$GRADLE_DIR
2222
export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
2323
cd java-client-api
24-
./gradlew -i mlDeploy -PmlForestDataDirectory=/space
24+
./gradlew -i mlDeploy mlReloadSchemas -PmlForestDataDirectory=/space
2525
'''
2626

2727
if (useReverseProxy) {
@@ -161,7 +161,7 @@ pipeline{
161161
export GRADLE_USER_HOME=$WORKSPACE/$GRADLE_DIR
162162
export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
163163
cd java-client-api
164-
./gradlew -i mlDeploy -PmlForestDataDirectory=/space
164+
./gradlew -i mlDeploy mlReloadSchemas -PmlForestDataDirectory=/space
165165
'''
166166
sh label:'run marklogic-client-api tests', script: '''#!/bin/bash
167167
export JAVA_HOME=$JAVA_HOME_DIR

0 commit comments

Comments
 (0)