commit | 6d17194a7570b65a884cc04880382a0cb309cb2f | [log] [tgz] |
---|---|---|
author | You Wang <you@opennetworking.org> | Wed Oct 17 11:45:05 2018 -0700 |
committer | You Wang <you@opennetworking.org> | Wed Oct 17 11:45:05 2018 -0700 |
tree | 40b92d4315c34d8fd8bdd249e587a5f05c6dddc6 | |
parent | 96b3f16489e32f0214921b0ba740b4ac51534c11 [diff] [blame] |
Remove old database files before starting new SCPF tests Change-Id: I652ca1f28ffb0d345f329de9b4e609926c2e0e1c
diff --git a/TestON/JenkinsFile/dependencies/PerformanceFuncs.groovy b/TestON/JenkinsFile/dependencies/PerformanceFuncs.groovy index 2c86f43..1623373 100644 --- a/TestON/JenkinsFile/dependencies/PerformanceFuncs.groovy +++ b/TestON/JenkinsFile/dependencies/PerformanceFuncs.groovy
@@ -339,6 +339,11 @@ "','\$BUILD_NUMBER', '\$ONOSBranch', " + affectedByOldFlow( isOldFlow, testName ) + "\$line);\"" } +def cleanupDatabaseFile( testName ){ + // clean up the database file created under /tmp + return 'rm /tmp/' + SCPF[ testName ][ 'file' ] +} + def databasePart( testName, database_command ){ // read the file from the machine and insert it to the database