Skip to content

Commit

Permalink
Fix for ClusterMigrationTest & ProxyServiceTlsStarterTest
Browse files Browse the repository at this point in the history
  • Loading branch information
mukesh-ctds committed Mar 4, 2024
1 parent e2984d6 commit 8d7ebfb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import com.google.common.collect.Sets;
import java.lang.reflect.Method;
import java.net.URL;
import java.util.Optional;
import java.util.concurrent.TimeUnit;
import lombok.Cleanup;
import org.apache.pulsar.broker.BrokerTestUtil;
Expand Down Expand Up @@ -477,6 +478,14 @@ protected void setup() throws Exception {
super.setupWithClusterName(clusterName);
}

@Override
protected void doInitConf() throws Exception {
super.doInitConf();
this.conf.setWebServicePortTls(Optional.of(0));
this.conf.setBrokerServicePortTls(Optional.of(0));
}


public PulsarService getPulsarService() {
return pulsar;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ protected void setup() throws Exception {

protected void doInitConf() throws Exception {
super.doInitConf();
this.conf.setBrokerServicePortTls(Optional.of(0));
this.conf.setTlsCertificateFilePath(PROXY_CERT_FILE_PATH);
this.conf.setTlsKeyFilePath(PROXY_KEY_FILE_PATH);
}
Expand Down

0 comments on commit 8d7ebfb

Please sign in to comment.