From 18896739d8cef4152a1be7a4890f94be3e5f59e2 Mon Sep 17 00:00:00 2001 From: Ruihang Xia Date: Fri, 4 Aug 2023 16:38:40 +0800 Subject: [PATCH] fix: disable region failover in sqlness test (#2102) Signed-off-by: Ruihang Xia --- tests/runner/src/env.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/runner/src/env.rs b/tests/runner/src/env.rs index e001199685..de81777829 100644 --- a/tests/runner/src/env.rs +++ b/tests/runner/src/env.rs @@ -15,9 +15,7 @@ use std::fmt::Display; use std::fs::OpenOptions; use std::path::{Path, PathBuf}; -use std::process::Stdio; -// use tokio::process::{Child, Command}; -use std::process::{Child, Command}; +use std::process::{Child, Command, Stdio}; use std::sync::atomic::{AtomicU32, Ordering}; use std::sync::{Arc, Mutex}; use std::time::Duration; @@ -177,6 +175,7 @@ impl Env { "start".to_string(), "--use-memory-store".to_string(), "--http-addr=0.0.0.0:5001".to_string(), + "--disable-region-failover".to_string(), ]; (args, METASRV_ADDR.to_string()) }