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

Fix timeout in Node and Network methods

Open
#21,658 0 comments 0 reactions 0 assignees View on GitHub
Otter
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

While several methods in `Node` and `Network` have a timeout, it is not implemented correctly. This has to be fixed. If we run into a timeout, a `org.hiero.otter.fixtures.util.TimeoutException` should be thrown. Eventually, this has to be added to the Javadocs.

This most likely applies to the container environment only, as Turtle functionality is instant.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Node and Network methods that accept or use timeouts, then inspect how the container environment currently handles an expired timeout. Verify the behavior against org.hiero.otter.fixtures.util.TimeoutException; done means affected container methods throw that exception when their timeout expires. Javadocs are noted as future work.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.