Skip to content

Commit

Permalink
fix: fix sqlness
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu committed Jan 8, 2025
1 parent c9ffa91 commit 3fa5248
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/conf/datanode-test.toml.template
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
node_id = 1
mode = 'distributed'
require_lease_before_startup = true
rpc_addr = '127.0.0.1:29410'
rpc_hostname = '127.0.0.1'
rpc_runtime_size = 8

[wal]
Expand Down
3 changes: 3 additions & 0 deletions tests/conf/frontend-test.toml.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[grpc]
addr = "127.0.0.1:29401"
hostname = "127.0.0.1:29401"
4 changes: 4 additions & 0 deletions tests/runner/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@ impl Env {
"--log-dir={}/greptimedb-frontend/logs",
self.sqlness_home.display()
),
"-c".to_string(),
self.generate_config_file(subcommand, db_ctx),
];
(
args,
Expand Down Expand Up @@ -456,6 +458,7 @@ impl Env {
"start".to_string(),
];
args.push(format!("--rpc-addr=127.0.0.1:2941{id}"));
args.push(format!("--rpc-hostname=127.0.0.1:2941{id}"));
args.push(format!("--http-addr=127.0.0.1:2943{id}"));
args.push(format!("--data-home={}", data_home.display()));
args.push(format!("--log-dir={}/logs", data_home.display()));
Expand All @@ -480,6 +483,7 @@ impl Env {
"start".to_string(),
];
args.push(format!("--rpc-addr=127.0.0.1:2968{id}"));
args.push(format!("--rpc-hostname=127.0.0.1:2968{id}"));
args.push(format!("--node-id={id}"));
args.push(format!(
"--log-dir={}/greptimedb-flownode/logs",
Expand Down

0 comments on commit 3fa5248

Please sign in to comment.