diff --git a/Cargo.lock b/Cargo.lock index 4935e543ab9..f92e27f380e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2696,6 +2696,7 @@ dependencies = [ "libtest-mimic", "serde", "tempfile", + "tikv-jemallocator", "tokio 1.27.0", "toml", ] diff --git a/bin/e2e-test-client/Cargo.toml b/bin/e2e-test-client/Cargo.toml index 0f9d2c73894..898eb052830 100644 --- a/bin/e2e-test-client/Cargo.toml +++ b/bin/e2e-test-client/Cargo.toml @@ -21,6 +21,7 @@ futures = "0.3" humantime-serde = "1.1" libtest-mimic = "0.6.0" serde = { workspace = true } +tikv-jemallocator = "0.5" tokio = { workspace = true } toml = { version = "0.5" } diff --git a/bin/e2e-test-client/src/lib.rs b/bin/e2e-test-client/src/lib.rs index 822515343e6..e88bb7a4bd5 100644 --- a/bin/e2e-test-client/src/lib.rs +++ b/bin/e2e-test-client/src/lib.rs @@ -66,7 +66,7 @@ pub fn main_body(config: SuiteConfig, mut args: Arguments) { with_cloned(&config, |config| { async_execute(async { let ctx = TestContext::new(config).await; - tests::transfers::transfer_back(&ctx).await + tests::script::dry_run(&ctx).await })?; Ok(()) }), diff --git a/bin/e2e-test-client/tests/integration_tests.rs b/bin/e2e-test-client/tests/integration_tests.rs index fe222f8d632..c92b6341002 100644 --- a/bin/e2e-test-client/tests/integration_tests.rs +++ b/bin/e2e-test-client/tests/integration_tests.rs @@ -7,6 +7,10 @@ use fuel_core_e2e_client::config::SuiteConfig; use std::fs; use tempfile::TempDir; // Used for writing assertions // Run programs +// Use Jemalloc +#[global_allocator] +static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc; + #[tokio::test(flavor = "multi_thread")] async fn works_in_local_env() { // setup a local node