Skip to content

Conversation

@mzumsande
Copy link
Contributor

Fixes #28290

These fixed timeouts aren't affected by the timeout_factor option and can therefore cause timeouts in slow environments.
They are also unnecessary for the test because they measure the wrong thing:
While there is an internal waiting time of 60s within ThreadOpenConnections (beginning only when that thread is started) for fixed seeds querying, the timeouts here don't measure that but the time from startup until a debug log message is encountered, during which many other things happen in init, so they don't make much sense to me in the first place.

They cannot be scaled by the timeout_factor option and can
therefore cause timeouts in slow environments.
They are also not necessary for the test, since they measure time
frome startup until a debug message is encountered, which
is not restricted to 1 minute by any internal logic within bitcoind.
@DrahtBot
Copy link
Contributor

DrahtBot commented Sep 1, 2023

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK MarcoFalke

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #28392 (test: Use pathlib over os path by ns-xvrn)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@maflcko
Copy link
Member

maflcko commented Sep 3, 2023

lgtm ACK fbcacd4

@maflcko
Copy link
Member

maflcko commented Sep 5, 2023

rfm, or is anything left to be done here?

@fanquake fanquake merged commit c004ba4 into bitcoin:master Sep 5, 2023
@mzumsande mzumsande deleted the 202308_feature_config_args_timeouts branch September 5, 2023 15:16
Frank-GER pushed a commit to syscoin/syscoin that referenced this pull request Sep 8, 2023
…args

fbcacd4 test: remove fixed timeouts from feature_config_args (Martin Zumsande)

Pull request description:

  Fixes bitcoin#28290

  These fixed timeouts aren't affected by the `timeout_factor` option and can therefore cause timeouts in slow environments.
  They are also unnecessary for the test because they measure the wrong thing:
  While there is an internal waiting time of 60s within `ThreadOpenConnections` (beginning only when that thread is started) for fixed seeds querying, the timeouts here don't measure that but the time from startup until a debug log message is encountered, during which many other things happen in init, so they don't make much sense to me in the first place.

ACKs for top commit:
  MarcoFalke:
    lgtm ACK fbcacd4

Tree-SHA512: 7bb3b7db2f9666b1929ffb7773c838ee98b0845569428e5d00ecf5234973d534c4f474e213896c71baabd6096a79347bd21b41a17b130053049714eb8a447c79
@bitcoin bitcoin locked and limited conversation to collaborators Sep 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Intermittent failure in feature_config_args.py

4 participants