Skip to content

Commit

Permalink
fix: fixed flaky test in batch1
Browse files Browse the repository at this point in the history
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
  • Loading branch information
quiet-node committed Jan 17, 2025
1 parent fb49b63 commit 9a2d923
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/server/tests/acceptance/rpc_batch1.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1637,7 +1637,7 @@ describe('@api-batch-1 RPC Server Acceptance Tests', function () {
]);
});

it('should execute "eth_sendRawTransaction" if receiver\'s account has receiver_sig_required disabled', async function () {
it(`should execute "eth_sendRawTransaction" if receiver's account has receiver_sig_required disabled`, async function () {
const newPrivateKey = PrivateKey.generateED25519();
const newAccount = await new AccountCreateTransaction()
.setKey(newPrivateKey.publicKey)
Expand All @@ -1654,6 +1654,7 @@ describe('@api-batch-1 RPC Server Acceptance Tests', function () {
}

const toAddress = Utils.idToEvmAddress(receipt.accountId.toString());
await Utils.wait(3000);
const verifyAccount = await mirrorNode.get(`/accounts/${toAddress}`, requestId);

if (verifyAccount && !verifyAccount.account) {
Expand Down

0 comments on commit 9a2d923

Please sign in to comment.