Fixed import error in test-service pipeline
Change-Id: Ied4ecb339c65d75b785ab09e239e3ba1e5ae7e34
diff --git a/test-service.groovy b/test-service.groovy
index 1caf00c..f7cdd64 100644
--- a/test-service.groovy
+++ b/test-service.groovy
@@ -87,7 +87,7 @@
writeFile(file: 'report.xml', text: salt.getFileContent(saltMaster, TEST_TEMPEST_TARGET, '/root/report.xml'))
junit(keepLongStdio: true, testResults: 'report.xml', healthScaleFactor: Double.parseDouble(TEST_JUNIT_RATIO))
- def testResults = test.collectJUnitResults(currentBuild.rawBuild.getAction(AbstractTestResultAction.class))
+ def testResults = test.collectJUnitResults(currentBuild.rawBuild.getAction(hudson.tasks.test.AbstractTestResultAction.class))
if(testResults){
currentBuild.desc = String.format("result: %s", testResults["failed"] / testResults["total"])
}