Skip to content

Commit 1776b8e

Browse files
author
ssambasu
committed
Fix build.gradle and HubConfigTest
1 parent fe5f591 commit 1776b8e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

marklogic-data-hub/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,8 @@ task setupSSL{
360360
}
361361
}
362362

363-
//setupSSL.dependsOn(testClasses)
364-
//bootstrap.dependsOn(setupSSL)
365-
bootstrap.dependsOn(testClasses)
363+
setupSSL.dependsOn(testClasses)
364+
bootstrap.dependsOn(setupSSL)
366365
test.dependsOn(bootstrap)
367366
testIntegration.dependsOn(bootstrap)
368367
testAcceptance.dependsOn(bootstrap)

marklogic-data-hub/src/test/java/com/marklogic/hub/core/HubConfigTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public void applyFinalConnectionPropsToDefaultRestConnection() {
9999
props.put("mlFinalExternalName", extName);
100100
props.put("mlFinalSimpleSsl", sslMethod);
101101
//if sslContext is set , it is assumed that it is a secure connection, hence unsetting them
102-
if(! sslMethod && !isCertAuth()) {
102+
if(! sslMethod) {
103103
adminHubConfig.setSslContext(DatabaseKind.FINAL, null);
104104
adminHubConfig.setSslHostnameVerifier(DatabaseKind.FINAL, null);
105105
adminHubConfig.setTrustManager(DatabaseKind.FINAL, null);

0 commit comments

Comments
 (0)