"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lucene/replicator/src/test/org/apache/lucene/replicator/ReplicatorTestCase.java" between
solr-8.4.0-src.tgz and solr-8.4.1-src.tgz

About: Solr is the search platform from the Apache Lucene project. Its major features include full-text search, hit highlighting, faceted search, caching, replication, and a web admin interface.

ReplicatorTestCase.java  (solr-8.4.0-src.tgz):ReplicatorTestCase.java  (solr-8.4.1-src.tgz)
skipping to change at line 64 skipping to change at line 64
public static synchronized Server newHttpServer(Handler handler) throws Except ion { public static synchronized Server newHttpServer(Handler handler) throws Except ion {
// if this property is true, then jetty will be configured to use SSL // if this property is true, then jetty will be configured to use SSL
// leveraging the same system properties as java to specify // leveraging the same system properties as java to specify
// the keystore/truststore if they are set // the keystore/truststore if they are set
// //
// This means we will use the same truststore, keystore (and keys) for // This means we will use the same truststore, keystore (and keys) for
// the server as well as any client actions taken by this JVM in // the server as well as any client actions taken by this JVM in
// talking to that server, but for the purposes of testing that should // talking to that server, but for the purposes of testing that should
// be good enough // be good enough
final boolean useSsl = Boolean.getBoolean("tests.jettySsl"); final boolean useSsl = Boolean.getBoolean("tests.jettySsl");
final SslContextFactory sslcontext = new SslContextFactory(false); final SslContextFactory.Server sslcontext = new SslContextFactory.Server();
if (useSsl) { if (useSsl) {
if (null != System.getProperty("javax.net.ssl.keyStore")) { if (null != System.getProperty("javax.net.ssl.keyStore")) {
sslcontext.setKeyStorePath sslcontext.setKeyStorePath
(System.getProperty("javax.net.ssl.keyStore")); (System.getProperty("javax.net.ssl.keyStore"));
} }
if (null != System.getProperty("javax.net.ssl.keyStorePassword")) { if (null != System.getProperty("javax.net.ssl.keyStorePassword")) {
sslcontext.setKeyStorePassword sslcontext.setKeyStorePassword
(System.getProperty("javax.net.ssl.keyStorePassword")); (System.getProperty("javax.net.ssl.keyStorePassword"));
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)