add a short delay in the rpc test to give the server time to write metadata to the disk before checking it

pull/1/head
ansuz 5 years ago
parent fa525817ba
commit d17e180420

@ -159,6 +159,9 @@ var createUser = function (config, cb) {
}
wc.leave();
}));
}).nThen(function (w) {
// give the server time to write your mailbox data before checking that it's correct
setTimeout(w(), 500);
}).nThen(function (w) {
// confirm that you own your mailbox
user.anonRpc.send("GET_METADATA", user.mailboxChannel, w(function (err, data) {

Loading…
Cancel
Save