You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/03/21 20:58:55 UTC

[GitHub] [accumulo] keith-turner commented on a change in pull request #1048: Possible fix and unit test. Fixes #961

keith-turner commented on a change in pull request #1048: Possible fix and unit test. Fixes #961
URL: https://github.com/apache/accumulo/pull/1048#discussion_r267953901
 
 

 ##########
 File path: server/tserver/src/test/java/org/apache/accumulo/tserver/log/RecoveryLogsReaderTest.java
 ##########
 @@ -177,4 +178,26 @@ public void testSortCheck() {
     }
   }
 
+  /**
+   * Test a failed marker doesn't cause issues. See Github issue
+   * https://github.com/apache/accumulo/issues/961
+   */
+  @Test
+  public void testFailed() throws Exception {
+    Path manyMaps = new Path("file://" + root.getRoot().getAbsolutePath() + "/manyMaps");
+    fs.create(new Path(manyMaps, SortedLogState.FAILED.getMarker())).close();
 
 Review comment:
   Will other test see this file?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services