Skip to content

Commit

Permalink
Minor change to be able to upgrade in-memory accumulo which is 3.0
Browse files Browse the repository at this point in the history
compatible
  • Loading branch information
ivakegg committed Dec 13, 2024
1 parent 8fb39f3 commit a8561e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ private static class MockAccumuloConnectionFactory implements AccumuloConnection

public MockAccumuloConnectionFactory() {
try {
inMemoryInstance.getConnector("root", "").securityOperations().changeUserAuthorizations("root", new Authorizations("PUB", "PVT"));
new InMemoryAccumuloClient("root", inMemoryInstance).securityOperations().changeUserAuthorizations("root", new Authorizations("PUB", "PVT"));
} catch (AccumuloException | AccumuloSecurityException e) {
throw new RuntimeException(e);
}
Expand Down

0 comments on commit a8561e4

Please sign in to comment.