Page MenuHomePhabricator

[test] Make test_getpeerinfo more robust by using mocktime
ClosedPublic

Authored by roqqit on Wed, Jan 15, 17:19.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCd2683db55d84: [test] Make test_getpeerinfo more robust by using mocktime
Summary

See title.

Depends on D17529

Test Plan

Run rpc_net multiple times to make sure it isn't flaky:

for X in {1..30} ; do ./test/functional/test_runner.py rpc_net || break ; done

Diff Detail

Repository
rABC Bitcoin ABC
Branch
rpc-net-mocktime
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32129
Build 63749: Build Diffbuild-without-wallet · build-clang-tidy · build-clang · build-diff · build-debug
Build 63748: arc lint + arc unit

Event Timeline

roqqit requested review of this revision.Wed, Jan 15, 17:19
This revision is now accepted and ready to land.Wed, Jan 15, 22:03
Fabien requested changes to this revision.Wed, Jan 15, 22:03
Fabien added inline comments.
test/functional/rpc_net.py
116 ↗(On Diff #52213)

You can now assert_equal

This revision now requires changes to proceed.Wed, Jan 15, 22:03
This revision is now accepted and ready to land.Thu, Jan 16, 19:50