Skip to content

Commit

Permalink
feat: use the latest command line options for sqlness runner (Greptim…
Browse files Browse the repository at this point in the history
…eTeam#2371)

feat: use the latest command line options

Signed-off-by: Ruihang Xia <[email protected]>
  • Loading branch information
waynexia authored and paomian committed Oct 19, 2023
1 parent 2f844d6 commit bf5605b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions tests/runner/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand Down Expand Up @@ -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![
Expand All @@ -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}"))
Expand Down
2 changes: 1 addition & 1 deletion tests/runner/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit bf5605b

Please sign in to comment.