We do some simple performance testing in our CV, it transiently fails to remove the test directory due to it not being empty (this is a race condition).
Ensure that we close the vBucketBackupWriter before we try to remove the test directory; this ensures the metawriter goroutine doesn't attempt to persist any data whilst we're actively removing the test directory.
|For Gerrit Dashboard: MB-42254|
|138810,2||Merge branch 'mad-hatter' into master||master||backup||Status: MERGED||+2||+1|
|138824,2||MB-42254 Ensure we close the VBucketBackup reader/writer||mad-hatter||backup||Status: MERGED||+2||+1|