Skip to content

Commit

Permalink
Revert "Clean up Besu runtime files when stopping ATs"
Browse files Browse the repository at this point in the history
This reverts commit c08ae10.
  • Loading branch information
fab-10 committed Mar 26, 2024
1 parent c08ae10 commit d9475b6
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -786,21 +786,6 @@ public void stop() {
nodeRequests.shutdown();
nodeRequests = null;
}

deleteRuntimeFiles();
}

private void deleteRuntimeFiles() {
try {
Files.deleteIfExists(homeDirectory.resolve("besu.networks"));
} catch (IOException e) {
LOG.error("Failed to clean up besu.networks file in {}", homeDirectory, e);
}
try {
Files.deleteIfExists(homeDirectory.resolve("besu.ports"));
} catch (IOException e) {
LOG.error("Failed to clean up besu.ports file in {}", homeDirectory, e);
}
}

@Override
Expand Down

0 comments on commit d9475b6

Please sign in to comment.