Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the dry-run e2e test to actually perform dry runs #1111

Merged
merged 2 commits into from
Apr 11, 2023
Merged
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
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bin/e2e-test-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }

Expand Down
2 changes: 1 addition & 1 deletion bin/e2e-test-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}),
Expand Down
4 changes: 4 additions & 0 deletions bin/e2e-test-client/tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down