Github user lstav commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/242#discussion_r110162252
  
    --- Diff: 
test/src/main/java/org/apache/accumulo/test/ThriftServerBindsBeforeZooKeeperLockIT.java
 ---
    @@ -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 expect
    -            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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to