Looking at the failing test, the file has not been written to mongo before an ls is being performed. This seems to be because the receiver__'s finish has been called before the file has been fully uploaded to mongo.
I believe the tests just don't treat the methods asynchronously. Possible should not have these tests rely on what is done in a previous test.
Looking at the failing test, the file has not been written to mongo before an
lsis being performed.This seems to be because thereceiver__'sfinishhas been called before the file has been fully uploaded to mongo.I believe the tests just don't treat the methods asynchronously. Possible should not have these tests rely on what is done in a previous test.