Skip to content

Commit

Permalink
apply review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
s1monw committed Jul 5, 2016
1 parent 10164e7 commit 7bb36b9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public BytesRef toBytesRef() {
builder.append(spare);
}
} catch (IOException ex) {
throw new AssertionError("won't happen", ex);
throw new AssertionError("won't happen", ex); // this is really an error since we don't do IO in our bytesreferences
}
return builder.toBytesRef();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@

@ClusterScope(scope = Scope.TEST, numDataNodes = 0)
@ESIntegTestCase.SuppressLocalMode
@TestLogging("_root:DEBUG,cluster.service:TRACE,discovery.zen:TRACE")
public class MinimumMasterNodesIT extends ESIntegTestCase {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,7 @@ public void testStreamInputMarkAndReset() throws IOException {
}
assertEquals(si.readByte(), wrap.readByte());
assertEquals(si.available(), wrap.available());

}


}

public void testStreamInputBulkReadWithOffset() throws IOException {
Expand Down

0 comments on commit 7bb36b9

Please sign in to comment.