It's sufficient for the time being to simply prove in a test that calling get_data() without first calling lock() takes longer than calling it with, I would suggest.
@csirianni I'm assigning you if that's okay, as I'd like to get your review and confirmation that the approach works as we expect it to.
Let's also check that get_data() returns non-zero values. Or, assert the values for some file are equal to the result of get_data() when calling and not calling lock().
It's sufficient for the time being to simply prove in a test that calling
get_data()
without first callinglock()
takes longer than calling it with, I would suggest.@csirianni I'm assigning you if that's okay, as I'd like to get your review and confirmation that the approach works as we expect it to.