accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [accumulo] hkeebler commented on issue #1084: Tests failing running against standalone instance
Date Wed, 01 May 2019 16:55:09 GMT
hkeebler commented on issue #1084: Tests failing running against standalone instance
   ReadWriteIT test fails loading the "" file in the following section
of code in the SunnyDay test.  It appears that it is trying to read an XML formatted file
   ` Unexpected character
'#' (code 35) in prolog; expected '<'`
   instead of a regular properties file BUT I do not think the code here is really even necessary
and doesn't really test anything.  When removed the test runs with no issue.
   if (getCluster() instanceof StandaloneAccumuloCluster) {
           StandaloneAccumuloCluster standaloneCluster = (StandaloneAccumuloCluster) getCluster();
           File accumuloProps =
               new File(standaloneCluster.getServerAccumuloConfDir(), "");
           if (accumuloProps.isFile()) {
             Configuration conf = new Configuration(false);
             conf.addResource(new Path(accumuloProps.toURI()));
             String monitorSslKeystore = conf.get(Property.MONITOR_SSL_KEYSTORE.getKey());
             if (monitorSslKeystore != null) {
     "Using HTTPS since monitor ssl keystore configuration was observed
in {}",
               scheme = "https://";
               SSLContext ctx = SSLContext.getInstance("TLSv1.2");
               TrustManager[] tm = {new TestTrustManager()};
               ctx.init(new KeyManager[0], tm, new SecureRandom());
               HttpsURLConnection.setDefaultHostnameVerifier(new TestHostnameVerifier());
           } else {
   "{} is not a normal file, not checking for monitor running with SSL",

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message