HomePhabricator

test: Remove random line number feature from feature_init.py

Description

test: Remove random line number feature from feature_init.py

Summary:
This is needed for the next commit.

Also, it doesn't really test anything novel. wait_for_debug_log is
inherently racy, so will randomly terminate at the exact point or later.
So the randomization is already sufficiently covered by the existing
test.

This is a partial backport of core#24192
https://github.com/bitcoin/bitcoin/pull/24192/commits/fa4595deb334f14dac9ba481d786a823e0f0fde1

Depends on D12617

Test Plan: ninja check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D12620

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Jan 31 2022, 09:19
PiRKCommitted on Nov 25 2022, 14:26
PiRKPushed on Nov 25 2022, 14:26
Reviewer
Restricted Project
Differential Revision
D12620: test: Remove random line number feature from feature_init.py
Parents
rABC35a1c2dc382b: [test] feature_init: prevent UnicodeDecodeError errors when opening log file
Branches
Unknown
Tags
Unknown