From d9475b6182c1648babd3d9daa69a21dc5a7e302e Mon Sep 17 00:00:00 2001 From: Fabio Di Fabio Date: Tue, 26 Mar 2024 20:13:38 +0100 Subject: [PATCH] Revert "Clean up Besu runtime files when stopping ATs" This reverts commit c08ae10d9bfeced7956d1587bc1262fd693f3be4. --- .../besu/tests/acceptance/dsl/node/BesuNode.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/acceptance-tests/dsl/src/main/java/org/hyperledger/besu/tests/acceptance/dsl/node/BesuNode.java b/acceptance-tests/dsl/src/main/java/org/hyperledger/besu/tests/acceptance/dsl/node/BesuNode.java index ab898e0f168..c822ce899ce 100644 --- a/acceptance-tests/dsl/src/main/java/org/hyperledger/besu/tests/acceptance/dsl/node/BesuNode.java +++ b/acceptance-tests/dsl/src/main/java/org/hyperledger/besu/tests/acceptance/dsl/node/BesuNode.java @@ -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