From 100764a3853152f64e99282a53e08a5771164ce4 Mon Sep 17 00:00:00 2001 From: Ruihang Xia Date: Wed, 13 Sep 2023 11:20:29 +0800 Subject: [PATCH] feat: use the latest command line options Signed-off-by: Ruihang Xia --- tests/runner/src/env.rs | 4 ---- tests/runner/src/main.rs | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/runner/src/env.rs b/tests/runner/src/env.rs index 10294d89d149..7ac111fb8af2 100644 --- a/tests/runner/src/env.rs +++ b/tests/runner/src/env.rs @@ -181,8 +181,6 @@ impl Env { "--use-memory-store".to_string(), "true".to_string(), "--http-addr=127.0.0.1:5001".to_string(), - "--disable-region-failover".to_string(), - "true".to_string(), ]; (args, METASRV_ADDR.to_string()) } @@ -225,7 +223,6 @@ impl Env { let data_home = self .data_home .join(format!("greptimedb_datanode_{}_{id}", db_ctx.time)); - let wal_dir = data_home.join("wal").display().to_string(); let subcommand = "datanode"; let mut args = vec![ @@ -236,7 +233,6 @@ impl Env { args.push(format!("--rpc-addr=127.0.0.1:410{id}")); args.push(format!("--http-addr=127.0.0.1:430{id}")); args.push(format!("--data-home={}", data_home.display())); - args.push(format!("--wal-dir={wal_dir}")); args.push(format!("--node-id={id}")); args.push("--metasrv-addr=127.0.0.1:3002".to_string()); (args, format!("127.0.0.1:410{id}")) diff --git a/tests/runner/src/main.rs b/tests/runner/src/main.rs index 1d7e15d925c8..3f6a757ad3e2 100644 --- a/tests/runner/src/main.rs +++ b/tests/runner/src/main.rs @@ -34,7 +34,7 @@ async fn main() { let config = ConfigBuilder::default() .case_dir(util::get_case_dir()) - .fail_fast(true) + .fail_fast(false) .test_filter(test_filter) .follow_links(true) .build()