CI: Allow to select service for RT stats analysis
When running phytest with FHI7.2 in Docker, two services are deployed: dpdk-init and oai-gnb. Previously, AnalyzeRTStatsObject selected the first deployed service for RT stats analysis. Allow to explicitly select the service used for RT stats analysis instead of relying on the first deployed service.
This commit is contained in:
+2
-1
@@ -259,7 +259,8 @@ def ExecuteActionWithParam(action, ctx, node):
|
||||
|
||||
elif action == 'AnalyzeRTStats_Object':
|
||||
yaml = test.findtext('stats_cfg')
|
||||
success = CONTAINERS.AnalyzeRTStatsObject(HTML, node, ctx, yaml)
|
||||
service = test.findtext('service')
|
||||
success = CONTAINERS.AnalyzeRTStatsObject(HTML, node, ctx, yaml, service)
|
||||
|
||||
else:
|
||||
logging.warning(f"unknown action {action}, skip step")
|
||||
|
||||
Reference in New Issue
Block a user