mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-10-26 13:46:23 +00:00
fix: better sqlness show, replace the unwarp with better show message (#5400)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
@@ -172,7 +172,13 @@ async fn main() {
|
||||
store,
|
||||
),
|
||||
);
|
||||
runner.run().await.unwrap();
|
||||
match runner.run().await {
|
||||
Ok(_) => println!("\x1b[32mAll sqlness tests passed!\x1b[0m"),
|
||||
Err(e) => {
|
||||
println!("\x1b[31mTest failed: {}\x1b[0m", e);
|
||||
std::process::exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
// clean up and exit
|
||||
if !args.preserve_state {
|
||||
|
||||
Reference in New Issue
Block a user