hiero-ledger / hiero-ledger/hiero-consensus-node

[Flaky Test] com.hedera.node.app.service.contract.impl.test.exec.metrics.PrecompileOpsDurationMetricTest#recordsAndRetrievesPrecompileDuration()

Open
#26,360 1 comment 0 reactions 1 assignee View on GitHub

@Jeffrey-morgan34 is already working on this.

Since Jul 14, 2026.

flaky-test
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.