-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
The time difference check in test-provenance.R is too short for a loaded system. Currently, the time difference check is "less than 0.1", and on a loaded server, that time difference has been observed to be exceeded. I've instrumented this test script and found that time differences can be over 0.25 seconds.
I recommend changing the time difference check to 1 second in the two places where it occurs. In addition, I also recommend that the Sys.sleep() call be changed to 2 seconds instead of 0.2 seconds for the same reason.
I discovered this problem by repeatedly running R CMD check on all the packages in our R environment, and the above problem occurred after 117 tries when our server workload was high.
Thank you.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels