From 44f03c138fb8c974d390c09b27bbe0296dadc575 Mon Sep 17 00:00:00 2001 From: luwenpeng Date: Wed, 12 Apr 2023 15:29:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform/test/gtest_policy.cpp | 2 +- test/test_data/log/test_raw_pkt_mirr_rx_drop_ok.fs2 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/test/gtest_policy.cpp b/platform/test/gtest_policy.cpp index 937aae7..4c384c4 100644 --- a/platform/test/gtest_policy.cpp +++ b/platform/test/gtest_policy.cpp @@ -65,7 +65,7 @@ TEST(POLICY, POLICY_ENFORCER_LIFE_CYCLE) selected_chaining_destory(chainings.chaining_decrypted); printf("Before Sleep\n"); - sleep(15); + sleep(3); printf("After Sleep\n"); policy_enforcer_destory(enforcer); diff --git a/test/test_data/log/test_raw_pkt_mirr_rx_drop_ok.fs2 b/test/test_data/log/test_raw_pkt_mirr_rx_drop_ok.fs2 index e3cbc80..b504dde 100644 --- a/test/test_data/log/test_raw_pkt_mirr_rx_drop_ok.fs2 +++ b/test/test_data/log/test_raw_pkt_mirr_rx_drop_ok.fs2 @@ -1,4 +1,4 @@ -============================================================Fri Apr 7 09:56:54 2023============================================================ +============================================================Wed Apr 12 07:27:30 2023============================================================ nf_rx_pkt nf_rx_B nf_tx_pkt nf_tx_B endp_rx_pkt endp_rx_B endp_tx_pkt endp_tx_B sum 2 330 2 330 1 195 1 195 speed/s 0 0 0 0 0 0 0 0 @@ -12,7 +12,7 @@ speed/s 0 0 0 0 0 0 sum 0 0 0 0 0 0 0 0 speed/s 0 0 0 0 0 0 0 0 miss_sess_pkt miss_sess_B err_bypass_pkt err_bypass_B err_block_pkt err_block_B endp_drop_pkt endp_drop_B -sum 0 0 0 0 1 195 1 195 +sum 0 0 0 0 1 145 1 195 speed/s 0 0 0 0 0 0 0 0 ctrl_rx_pkt ctrl_rx_B ctrl_tx_pkt ctrl_tx_B ctrl_opening ctrl_active ctrl_closing ctrl_resetall sum 1 185 1 185 0 1 0 0