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)