Page MenuHomePhabricator

test: Fail if connect_nodes fails
ClosedPublic

Authored by roqqit on Wed, Jan 15, 00:07.

Details

Reviewers
Fabien
PiRK
Group Reviewers
Restricted Project
Commits
rABC4b8c65801635: test: Fail if connect_nodes fails
Summary

Pull request description:

Currently, `connect_nodes` will return silently when the connection is disconnected while connecting. This is confusing, so fix it.

Can be tested by reverting the signet test change and observing the failure when running the test.

Partial backport of core#25443

Depends on D17529

Test Plan
ninja check-functional

Diff Detail

Event Timeline

roqqit requested review of this revision.Wed, Jan 15, 00:07

Add back accidentally deleted comment

This revision is now accepted and ready to land.Wed, Jan 15, 09:18
PiRK requested changes to this revision.Wed, Jan 15, 09:18
PiRK added a subscriber: PiRK.
PiRK added inline comments.
test/functional/test_framework/test_framework.py
683 ↗(On Diff #52199)

the diff is missing the wait_until_helper -> self.wait_until changes that are in the PR. Any reason for that?

This revision now requires changes to proceed.Wed, Jan 15, 09:18
test/functional/test_framework/test_framework.py
683 ↗(On Diff #52199)

Good catch. Only reason is that I missed it.

Fix wait_until_helper -> self.wait_until

This revision is now accepted and ready to land.Wed, Jan 15, 19:46