From e71063222c80562ed71f88e05e62186741cc0bb0 Mon Sep 17 00:00:00 2001 From: EthanYuan Date: Tue, 28 Nov 2023 23:58:46 +0800 Subject: [PATCH] fix ci. --- util/app-config/src/tests/ckb_run_replay.bats | 2 +- util/app-config/src/tests/graceful_shutdown.bats | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/util/app-config/src/tests/ckb_run_replay.bats b/util/app-config/src/tests/ckb_run_replay.bats index 6603a1aea81..4b73d414a41 100644 --- a/util/app-config/src/tests/ckb_run_replay.bats +++ b/util/app-config/src/tests/ckb_run_replay.bats @@ -24,7 +24,7 @@ function ckb_run { #@test run _ckb_run [ "$status" -eq 0 ] # assert_output --regexp "ckb_chain::chain.*block number:.*, hash:.*, size:.*, cycles:.*" - assert_output --regexp "INFO ckb_bin all tokio tasks and threads have exited, ckb shutdown" + assert_output --regexp "INFO ckb_bin All tokio tasks and threads have exited. CKB shutdown" } function ckb_replay { #@test diff --git a/util/app-config/src/tests/graceful_shutdown.bats b/util/app-config/src/tests/graceful_shutdown.bats index b05c006255f..7fbd46983ad 100644 --- a/util/app-config/src/tests/graceful_shutdown.bats +++ b/util/app-config/src/tests/graceful_shutdown.bats @@ -32,12 +32,12 @@ function ckb_graceful_shutdown { #@test assert_output --regexp "INFO ckb_sync::types::header_map HeaderMap limit_memory received exit signal, exit now" assert_output --regexp "INFO ckb_network::network NetworkService receive exit signal, start shutdown..." assert_output --regexp "INFO ckb_network::network NetworkService shutdown now" - assert_output --regexp "INFO ckb_tx_pool::process TxPool save successfully" + assert_output --regexp "INFO ckb_tx_pool::process TxPool saved successfully" assert_output --regexp "INFO ckb_tx_pool::service TxPool process_service exit now" assert_output --regexp "INFO ckb_stop_handler::stop_register wait thread ChainService done" assert_output --regexp "INFO ckb_stop_handler::stop_register wait thread BlockDownload done" - assert_output --regexp "INFO ckb_bin waiting all tokio tasks exit..." - assert_output --regexp "INFO ckb_bin all tokio tasks and threads have exited, ckb shutdown" + assert_output --regexp "INFO ckb_bin Waiting for all tokio tasks to exit..." + assert_output --regexp "INFO ckb_bin All tokio tasks and threads have exited. CKB shutdown" } teardown_file() {