hashgraph / hedera-json-rpc-relay

Implementation of Ethereum JSON-RPC APIs for Hedera
Apache License 2.0
68 stars 72 forks source link

HbarLimiter tests are very flaky #3188

Closed quiet-node closed 2 weeks ago

quiet-node commented 2 weeks ago

Problem

With the new implementation of HbarLimitService enabled, the HBAR Limiter test has become highly flaky. Since adding expenses and updating spending plans are executed asynchronously, and the suite includes exhaustion tests with numerous consecutive calls to the network, the test client sometimes fails to retrieve the correct amounts. The tests are flaky to the extent that they either fail or only pass after multiple retries.

Alternatives

No response