Does clover not give coverage if we use 1 month old instrumented build?
We are using a month old instrumented build to find coverage on multi-node machines... i.e VM's.
It's not giving any coverage but we can see coverage.db.liverec file in the recordings folder.
If I recall correctly, Clover drops coverage recordings files if there's too big gap between instrumentation session and the date where coverage recording was taken. I don't remember exact numbers though. If that's important to you, feel free to consult it with Clover source code since Clover is now open source and available for all.
However, in the case you mention. Since there's liverec file I suppose JVM wasn't properly shutdown and not all coverage data was flushed to hard drive. You shall shutdown gracefully the JVM with kill -2 or kill -15. Alternatively, you may want to consider changing flush policy to other than directed.
Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events