fix ci test by waiting longer after deleting account

This commit is contained in:
woodser 2023-01-10 10:22:35 -05:00
parent b9e2454ebe
commit 54c6ce9575

View File

@ -363,7 +363,7 @@ export default class HavenoClient {
await new Promise<void>((resolve, reject) => {
this._accountClient.deleteAccount(new DeleteAccountRequest(), {password: this._password}, async function(err: grpcWeb.RpcError) {
if (err) reject(err);
else setTimeout(resolve, 5000);
else setTimeout(resolve, 10000); // deleteAccount() call should return after finished and without requiring shut down
});
});
} catch (e: any) {