Resolve "Intermittent test failure in TestUploadPack"
Wraps logrus entry assertions in require.Eventually
.
It will check the entries every millisecond for up to a second before failing.
We follow this approach in GitLab Pages for some tests, although flushing logrus somehow would be more ideal.
Related to #477 (closed)
Edited by Jaime Martinez