Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PAN-2652] RefactorPrivacyTests #1382

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ public PantheonNode(
path -> {
try {
copyResource(path, homeDirectory.resolve("key"));
} catch (IOException e) {
LOG.error("Could not find key file \"{}\" in resources", path);
} catch (Exception e) {
LOG.error(String.format("Could not find key file \"%s\" in resources", path), e);
}
});
this.keyPair = KeyPairUtil.loadKeyPair(homeDirectory);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ public PrivateAcceptanceTestBase() {
privateTransactionVerifier = new PrivateTransactionVerifier(eea, transactions);
}

protected static OrionTestHarness createEnclave(
public static OrionTestHarness createEnclave(
final String pubKey, final String privKey, final String... othernode) throws Exception {
return OrionTestHarnessFactory.create(privacy.newFolder().toPath(), pubKey, privKey, othernode);
}

protected static PrivacyParameters getPrivacyParameters(final OrionTestHarness testHarness)
public static PrivacyParameters getPrivacyParameters(final OrionTestHarness testHarness)
throws IOException {
return new PrivacyParameters.Builder()
.setEnabled(true)
Expand Down
Loading