Add new T2 Offload test
This commit is contained in:
+2
-2
@@ -251,10 +251,10 @@ def ExecuteActionWithParam(action, ctx):
|
|||||||
workdir = CLUSTER.eNBSourceCodePath
|
workdir = CLUSTER.eNBSourceCodePath
|
||||||
success = cls_oaicitest.Deploy_Physim(ctx, HTML, node, workdir, script, options)
|
success = cls_oaicitest.Deploy_Physim(ctx, HTML, node, workdir, script, options)
|
||||||
|
|
||||||
elif action == 'Build_Deploy_Docker_PhySim':
|
elif action == 'Build_Deploy_Docker_PhySim' or action == 'Build_Deploy_Source_PhySim':
|
||||||
node = test.findtext('node') or None
|
node = test.findtext('node') or None
|
||||||
ctest_opt = test.findtext('ctest-opt') or ''
|
ctest_opt = test.findtext('ctest-opt') or ''
|
||||||
script = "scripts/docker-build-and-deploy-physims.sh"
|
script = "scripts/docker-build-and-deploy-physims.sh" if action == 'Build_Deploy_Docker_PhySim' else 'scripts/source-deploy-physims.sh'
|
||||||
options = f"{CONTAINERS.eNBSourceCodePath} {ctest_opt}"
|
options = f"{CONTAINERS.eNBSourceCodePath} {ctest_opt}"
|
||||||
workdir = CONTAINERS.eNBSourceCodePath
|
workdir = CONTAINERS.eNBSourceCodePath
|
||||||
success = cls_oaicitest.Deploy_Physim(ctx, HTML, node, workdir, script, options)
|
success = cls_oaicitest.Deploy_Physim(ctx, HTML, node, workdir, script, options)
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
- Cppcheck_Analysis
|
- Cppcheck_Analysis
|
||||||
- Deploy_Run_OC_PhySim
|
- Deploy_Run_OC_PhySim
|
||||||
- Build_Deploy_Docker_PhySim
|
- Build_Deploy_Docker_PhySim
|
||||||
|
- Build_Deploy_Source_PhySim
|
||||||
- LicenceAndFormattingCheck
|
- LicenceAndFormattingCheck
|
||||||
- Push_Local_Registry
|
- Push_Local_Registry
|
||||||
- Pull_Local_Registry
|
- Pull_Local_Registry
|
||||||
|
|||||||
@@ -0,0 +1,54 @@
|
|||||||
|
<!--
|
||||||
|
Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
|
||||||
|
contributor license agreements. See the NOTICE file distributed with
|
||||||
|
this work for additional information regarding copyright ownership.
|
||||||
|
The OpenAirInterface Software Alliance licenses this file to You under
|
||||||
|
the OAI Public License, Version 1.1 (the "License"); you may not use this file
|
||||||
|
except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.openairinterface.org/?page_id=698
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
|
||||||
|
For more information about the OpenAirInterface (OAI) Software Alliance:
|
||||||
|
contact@openairinterface.org
|
||||||
|
-->
|
||||||
|
|
||||||
|
<testCaseList>
|
||||||
|
<htmlTabRef>test-t2-offload-enc-dec</htmlTabRef>
|
||||||
|
<htmlTabName>Test T2 Offload</htmlTabName>
|
||||||
|
<htmlTabIcon>tasks</htmlTabIcon>
|
||||||
|
<TestCaseRequestedList>
|
||||||
|
010204
|
||||||
|
111111
|
||||||
|
402010
|
||||||
|
</TestCaseRequestedList>
|
||||||
|
<TestCaseExclusionList></TestCaseExclusionList>
|
||||||
|
|
||||||
|
<testCase id="010204">
|
||||||
|
<class>Custom_Command</class>
|
||||||
|
<desc>Disable Sleep States</desc>
|
||||||
|
<node>caracal</node>
|
||||||
|
<command>sudo cpupower idle-set -D 0</command>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
|
<testCase id="402010">
|
||||||
|
<class>Custom_Command</class>
|
||||||
|
<always_exec>true</always_exec>
|
||||||
|
<desc>Enable Sleep States</desc>
|
||||||
|
<node>caracal</node>
|
||||||
|
<command>sudo cpupower idle-set -E</command>
|
||||||
|
</testCase>
|
||||||
|
|
||||||
|
<testCase id="111111">
|
||||||
|
<class>Build_Deploy_Source_PhySim</class>
|
||||||
|
<desc>Build and Deploy PhySim T2 Offload tests</desc>
|
||||||
|
<node>caracal</node>
|
||||||
|
<ctest-opt>-R 5g-offload -j1</ctest-opt>
|
||||||
|
</testCase>
|
||||||
|
</testCaseList>
|
||||||
Reference in New Issue
Block a user