modify dbCmd to just output a sting - for db insert job in Jenkins
Change-Id: Ie71d73305c3810058571f078d60001d1f0ac2ff7
diff --git a/TestON/tests/SCPFportLat/SCPFportLat.py b/TestON/tests/SCPFportLat/SCPFportLat.py
index b4c0721..5f5d83e 100644
--- a/TestON/tests/SCPFportLat/SCPFportLat.py
+++ b/TestON/tests/SCPFportLat/SCPFportLat.py
@@ -521,7 +521,7 @@
main.log.report(' Port down Link-to-graph' +
str(portDownLinkToGraphAvg) + ' ms')
- dbCmdList.append("INSERT INTO port_latency_details VALUES('" +
+ dbCmdList.append(
timeToPost + "','port_latency_results'," + jenkinsBuildNumber +
',' + str(clusterCount) + ",'baremetal" + str(node + 1) +
"'," +
@@ -532,8 +532,7 @@
str(portDownEndToEndAvg) + ',' +
str(portDownOfpToDevAvg) + ',' +
str(portDownDevToLinkAvg) + ',' +
- str(portDownLinkToGraphAvg) +
- ');')
+ str(portDownLinkToGraphAvg))
fResult = open(resultPath, 'a')
for line in dbCmdList: