hiero-ledger / hiero-ledger/hiero-consensus-node
[Flaky Test] com.hedera.node.app.service.contract.impl.test.exec.metrics.PrecompileOpsDurationMetricTest#recordsAndRetrievesPrecompileDuration()
@Jeffrey-morgan34 is already working on this.
Since Jul 14, 2026.
- Dominant language
- Java
- Stars
- 407
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
## Flaky Test Detected
| Field | Value |
|---|---|
| Module | `hedera-smart-contract-service-impl` |
| Class | `com.hedera.node.app.service.contract.impl.test.exec.metrics.PrecompileOpsDurationMetricTest` |
| Method | `recordsAndRetrievesPrecompileDuration()` |
| First detected | 2026-07-14 |
| Workflow | [Node: PR Checks #50799](https://github.com/hiero-ledger/hiero-consensus-node/actions/runs/29359391240) |
### Failure Detail (first occurrence)
```
java.lang.AssertionError:
Expecting actual:
144.73329806166132
to be close to:
150.0
by less than 5.0 but difference was 5.26670193833868.
(a difference of exactly 5.0 being considered valid)
at com.hedera.node.app.service.contract.impl@0.74.0-SNAPSHOT/com.hedera.node.app.service.contract.impl.test.exec.metrics.PrecompileOpsDurationMetricTest.recordsAndRetrievesPrecompileDuration(PrecompileOpsDurationMetricTest.java:55)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.