diff options
| author | liuxueli <[email protected]> | 2023-05-30 11:21:30 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2023-05-30 11:21:30 +0800 |
| commit | 0b3e0058fe36400682a26407540a5f03ec7787a7 (patch) | |
| tree | 2489fdd94471486ef29243e7e3d366eed75c370c | |
| parent | 19cd568817a4b6327ba4f07970bd570197904b65 (diff) | |
修正测试用例
| -rw-r--r-- | test/src/gtest_fieldstat3.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/src/gtest_fieldstat3.cpp b/test/src/gtest_fieldstat3.cpp index 0e9df5c..ffb0ff8 100644 --- a/test/src/gtest_fieldstat3.cpp +++ b/test/src/gtest_fieldstat3.cpp @@ -59,7 +59,7 @@ TEST(FIELDSATA3, Intercept) p_result.action = TSG_ACTION_INTERCEPT; p_result.rule_id = 95536; p_result.do_log = 1; - p_result.service_id = 10; + p_result.service_id = TSG_SERVICE_INTERCEPT; for (int i = 0; i < 50000; i++) { @@ -78,6 +78,7 @@ TEST(FIELDSATA3, PolicyFlow) p_result.action = TSG_ACTION_MONITOR; p_result.rule_id = 95500; + p_result.service_id=TSG_SERVICE_SECURITY; for (int i = 0; i < 50000; i++) { |
