accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lstav <>
Subject [GitHub] accumulo pull request #242: ACCUMULO-2181/3005 REST API and new Monitor UI
Date Thu, 06 Apr 2017 13:35:36 GMT
Github user lstav commented on a diff in the pull request:
    --- Diff: test/src/main/java/org/apache/accumulo/test/
    @@ -94,7 +94,7 @@ public void testMonitorService() throws Exception {
                 final int responseCode = cnxn.getResponseCode();
                 final String errorText = FunctionalTestUtils.readAll(cnxn.getErrorStream());
                 // This is our "assertion", but we want to re-check it if it's not what we
    -            if (HttpURLConnection.HTTP_UNAVAILABLE == responseCode && null !=
errorText && errorText.contains(BasicServlet.STANDBY_MONITOR_MESSAGE)) {
    +            if (HttpURLConnection.HTTP_UNAVAILABLE == responseCode && null !=
errorText && errorText.contains("This is not the active Monitor")) {
    --- End diff --
    @ctubbsii worked on this better than I can, but he made the change since we no longer
have a BasicServlet class.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message