mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-30 03:40:37 +00:00
fix: more wait time for sqlness start and better message (#7485)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
10
tests/runner/src/env/bare.rs
vendored
10
tests/runner/src/env/bare.rs
vendored
@@ -293,7 +293,7 @@ impl Env {
|
||||
.write(true)
|
||||
.truncate(truncate_log)
|
||||
.append(!truncate_log)
|
||||
.open(stdout_file_name)
|
||||
.open(&stdout_file_name)
|
||||
.unwrap();
|
||||
|
||||
let args = mode.get_args(&self.sqlness_home, self, db_ctx, id);
|
||||
@@ -333,9 +333,13 @@ impl Env {
|
||||
});
|
||||
|
||||
for check_ip_addr in &check_ip_addrs {
|
||||
if !util::check_port(check_ip_addr.parse().unwrap(), Duration::from_secs(10)).await {
|
||||
if !util::check_port(check_ip_addr.parse().unwrap(), Duration::from_secs(30)).await {
|
||||
Env::stop_server(&mut process);
|
||||
panic!("{} doesn't up in 10 seconds, quit.", mode.name())
|
||||
panic!(
|
||||
"{} doesn't up in 30 seconds, check {} for more details.",
|
||||
mode.name(),
|
||||
stdout_file_name
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user