aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/autogen/Testcase.py
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2020-03-06 18:15:26 +0000
committerVratko Polak <vrpolak@cisco.com>2020-03-12 14:20:31 +0000
commita765b82b5bb2a88086503d0cf54b86770d9ffe74 (patch)
treec300a399b6298331e847ecfafafc2ece453034df /resources/libraries/python/autogen/Testcase.py
parent9902cc2a3610661110c66753554be12520e9c334 (diff)
rls2001 perf: fix hoststack test packet sizes
- TCP packet size is 1460B not 9000B - QUIC packet size is 1280B not 9000B Change-Id: I6604a74fa533db4ac782782c85ea54038688627a Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'resources/libraries/python/autogen/Testcase.py')
-rw-r--r--resources/libraries/python/autogen/Testcase.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/libraries/python/autogen/Testcase.py b/resources/libraries/python/autogen/Testcase.py
index d419b2993b..c4ed60685b 100644
--- a/resources/libraries/python/autogen/Testcase.py
+++ b/resources/libraries/python/autogen/Testcase.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2019 Cisco and/or its affiliates.
+# Copyright (c) 2020 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@ -110,8 +110,8 @@ class Testcase:
| | phy_cores=${{cores_num}}
'''
else:
- template_string = \
- f"\n| ${{tc_num}}-9000B-${{cores_str}}c-{suite_id[:-4]}" \
- f"-{suite_id[-3:]}\n" \
- f"| | [Tags] | ${{cores_str}}C\n| | phy_cores=${{cores_num}}\n"
+ template_string = f'''
+| ${{tc_num}}-${{frame_str}}-${{cores_str}}c-{suite_id[:-4]}-{suite_id[-3:]}
+| | [Tags] | ${{cores_str}}C\n| | phy_cores=${{cores_num}}
+'''
return cls(template_string)