Github user joshelser commented on a diff in the pull request:
https://github.com/apache/accumulo/pull/242#discussion_r110077410
--- 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 --
Is this text stored in a template now? Please leave a comment for future
devs in this test case.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---