diff options
| author | liuxueli <[email protected]> | 2023-02-15 14:35:25 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2023-02-15 14:36:27 +0800 |
| commit | 2bf5b5a12040e056772f97e9dc56b6756d22703c (patch) | |
| tree | 73939e98ec3de78f5cd3cc5a6c4c9a313409b268 /test/src/gtest_master.cpp | |
| parent | 485ae03da11002847da139fd7c11dd3af1dfbf4a (diff) | |
TSG-13764: 日志中shaping_rule_ids字段格式不正确导致UI未正常展示
Diffstat (limited to 'test/src/gtest_master.cpp')
| -rw-r--r-- | test/src/gtest_master.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/gtest_master.cpp b/test/src/gtest_master.cpp index af24f7b..0a0a38c 100644 --- a/test/src/gtest_master.cpp +++ b/test/src/gtest_master.cpp @@ -69,7 +69,7 @@ TEST(TSGMaster, ShapingSetRuleIds) set_shaping_rule_ids(g_tsg_log_instance, handle, (struct streaminfo *)&a_stream); char shaping_rule_ids[256]={0}; TLD_convert_json(handle, shaping_rule_ids, sizeof(shaping_rule_ids)); - EXPECT_STREQ("{\"common_shaping_rule_ids\":\"32,33,34,35,36,37,38,39\"}", shaping_rule_ids); + EXPECT_STREQ("{\"common_shaping_rule_ids\":[32,33,34,35,36,37,38,39]}", shaping_rule_ids); struct notify_shaping_policy *shaping_label=(struct notify_shaping_policy *)stream_bridge_async_data_get(&a_stream, g_tsg_para.bridge[BRIDGE_TYPE_NOTIFY_SHAPING_RESULT].id); EXPECT_NE(nullptr, shaping_label); |
