Generate versioned result file for queries.
Description
Conclusion
None
Activity
Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Created April 6, 2017 at 10:45 AM
Updated June 1, 2017 at 2:06 PM
Resolved April 7, 2017 at 8:39 AM
Originally the Regression Test Engine stores query result into a file named by the original ECL query name. This file used when the test result and the expected result (key file) are compared.
After we introduce the versioning, same result file created for all versions (the newer result file overwrites the previous). That wasn't caused any problem, because the result checking happened before other version of same ECL file executed.
From now, when we intensively use the parallel queries mode it can cause problems on powerful machines. It there are two version of same test and the second finished before the first result checked then it can overwrite the result of first version.
The solution is same as we use in jobname generation: add suffix to the test result file name generated from the version parameters and time stamp.