Skip to content

Commit 34c017a

Browse files
snapshot dir must be kept alive
1 parent fb978b8 commit 34c017a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

e2e/src/fuel_node.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ pub struct FuelNode {
2020

2121
pub struct FuelNodeProcess {
2222
_db_dir: tempfile::TempDir,
23+
_snapshot_dir: tempfile::TempDir,
2324
_child: tokio::process::Child,
2425
url: Url,
2526
public_key: FuelPublicKey,
@@ -87,6 +88,7 @@ impl FuelNode {
8788
_db_dir: db_dir,
8889
url,
8990
public_key,
91+
_snapshot_dir: snapshot_dir,
9092
};
9193

9294
process.wait_until_healthy().await;

0 commit comments

Comments
 (0)