From 7e480b4c7bd7b9c1b2e42f5dd3470c62a639db31 Mon Sep 17 00:00:00 2001 From: jinkangkang <1547182170@qq.com> Date: Mon, 12 Jan 2026 10:51:35 +0800 Subject: [PATCH] fix: Fix runDiagInfo testNames Index error --- testing/python3/DcgmGroup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/python3/DcgmGroup.py b/testing/python3/DcgmGroup.py index 22788124..205371c0 100644 --- a/testing/python3/DcgmGroup.py +++ b/testing/python3/DcgmGroup.py @@ -510,7 +510,7 @@ def RunSpecificTest(self, testName): runDiagInfo = dcgm_structs.c_dcgmRunDiag_v10() runDiagInfo.version = dcgm_structs.dcgmRunDiag_version10 for i in range(len(testName)): - runDiagInfo.testNames[0][i] = testName[i] + runDiagInfo.testNames[i] = testName[i] runDiagInfo.groupId = self._groupId runDiagInfo.validate = dcgm_structs.DCGM_POLICY_VALID_NONE response = dcgm_agent.dcgmActionValidate_v2(self._dcgmHandle.handle, runDiagInfo)