Skip to content

Commit 4a50290

Browse files
committed
fix unit tests
Signed-off-by: ibankov <[email protected]>
1 parent 96e2746 commit 4a50290

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hedera-node/hedera-app/src/test/java/com/hedera/node/app/workflows/ingest/IngestCheckerTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -480,8 +480,9 @@ void innerTxnsLeakCapacity() throws PreCheckException {
480480
state, Transaction.PROTOBUF.toBytes(batchTxn.transaction()), configuration));
481481

482482
// Verify capacity leaked the transaction that did not get throttled
483-
verify(synchronizedThrottleAccumulator, times(1)).leakCapacityForNOfUnscaled(any(), anyInt());
483+
verify(synchronizedThrottleAccumulator, times(2)).leakCapacityForNOfUnscaled(any(), anyInt());
484484
verify(synchronizedThrottleAccumulator).leakCapacityForNOfUnscaled(CRYPTO_CREATE, 1);
485+
verify(synchronizedThrottleAccumulator).leakCapacityForNOfUnscaled(ATOMIC_BATCH, 1);
485486
// Verifiy crypto transfer was throttled
486487
verify(opWorkflowMetrics).incrementThrottled(CRYPTO_TRANSFER);
487488
}

0 commit comments

Comments
 (0)