From 94e77f6f7b8d2aad29e01fa8677a5b3c6d747dd8 Mon Sep 17 00:00:00 2001 From: nikolay Date: Tue, 28 Jan 2025 20:23:32 +0200 Subject: [PATCH] chore: fix flaky test Signed-off-by: nikolay --- packages/server/tests/acceptance/rpc_batch1.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/tests/acceptance/rpc_batch1.spec.ts b/packages/server/tests/acceptance/rpc_batch1.spec.ts index 87e194846..f2a992d73 100644 --- a/packages/server/tests/acceptance/rpc_batch1.spec.ts +++ b/packages/server/tests/acceptance/rpc_batch1.spec.ts @@ -960,7 +960,7 @@ describe('@api-batch-1 RPC Server Acceptance Tests', function () { .addTokenTransfer(tokenId, servicesNode._thisAccountId(), -10) .addTokenTransfer(tokenId, accounts[2].accountId, 10) .setTransactionMemo('Relay test token transfer'); - const resp = await transaction.execute(servicesNode.client); + const resp = await (await transaction.freezeWith(servicesNode.client)).execute(servicesNode.client); await resp.getRecord(servicesNode.client); await Utils.wait(1000); const logsRes = await mirrorNode.get(`/contracts/results/logs?limit=1`, requestId);