summaryrefslogtreecommitdiff
path: root/test/src/gtest_sync_state.cpp
diff options
context:
space:
mode:
author刘学利 <[email protected]>2023-05-09 11:26:57 +0000
committer刘学利 <[email protected]>2023-05-09 11:26:57 +0000
commitc5e959492d627e5fcfe3cf5264b0e4e53e63f77a (patch)
tree166e04398bc0bae2168f643f785d690b5ff2a9b3 /test/src/gtest_sync_state.cpp
parent19eaee2c7825fdfc1b1b967496916942624e9d29 (diff)
TSG-14932: 控制报文中需增加service chaining和shaping的SID, 保证SID的顺序 , TFE -> service...
Diffstat (limited to 'test/src/gtest_sync_state.cpp')
-rw-r--r--test/src/gtest_sync_state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/gtest_sync_state.cpp b/test/src/gtest_sync_state.cpp
index 5dd8629..14a6642 100644
--- a/test/src/gtest_sync_state.cpp
+++ b/test/src/gtest_sync_state.cpp
@@ -190,7 +190,7 @@ TEST(POLICY_UPDATE, Shaper)
TEST(SESSION_STATE, ActiveStateServiceChainingAndShaping0)
{
struct streaminfo a_stream = {0};
- struct update_policy policy_array[2];
+ struct update_policy policy_array[POLICY_UPDATE_MAX];
char test_str[256] = {0};
char ctrl_pkt_buf[1024];
int ctrl_pkt_len = 0;
@@ -482,4 +482,4 @@ int main(int argc, char *argv[])
int ret = RUN_ALL_TESTS();
MESA_destroy_runtime_log_handle(g_tsg_para.logger);
return ret;
-} \ No newline at end of file
+}