Fix Qt test broken by #22219 #22992

pull ryanofsky wants to merge 1 commits into bitcoin:master from ryanofsky:pr/sfix changing 1 files +2 −0
  1. ryanofsky commented at 2:14 AM on September 16, 2021: contributor

    It looks like this should have been caught by CI but there might have been a conflict with a recently merged PR like #19101. Failure was reported by fanquake #22219 (comment)

    Fix avoids null WalletClient pointer dereference in address book test by adding MakeWalletClient call and making address book test initialization more consistent with wallet test initialization:

    https://github.com/bitcoin/bitcoin/blob/865ee1af201238f48671e3b79b8215f896db7a05/src/qt/test/addressbooktests.cpp#L63-L66 https://github.com/bitcoin/bitcoin/blob/865ee1af201238f48671e3b79b8215f896db7a05/src/qt/test/wallettests.cpp#L141-L144

  2. ryanofsky cross-referenced this on Sep 16, 2021 from issue multiprocess: Start using init makeNode, makeChain, etc methods by ryanofsky
  3. Fix Qt test broken by #22219
    It looks like this should have been caught by CI but perhaps there was a
    conflict with a recently merged PR. Failure reported by fanquake <fanquake@gmail.com>
    https://github.com/bitcoin/bitcoin/pull/22219#issuecomment-920496509
    865ee1af20
  4. ryanofsky force-pushed on Sep 16, 2021
  5. ryanofsky commented at 2:25 AM on September 16, 2021: contributor

    Updated f2c0afdc017078d12cf70250068482bcd6bae21c -> 865ee1af201238f48671e3b79b8215f896db7a05 (pr/sfix.1 -> pr/sfix.2, compare) just to make addressbooktests init more consistent with wallettests init, and to do more complete wallet initialization at the beginning of the test instead of partial initialization in the middle.

  6. fanquake approved
  7. fanquake commented at 4:09 AM on September 16, 2021: member

    ACK 865ee1af201238f48671e3b79b8215f896db7a05 - I'm merging this now to unbreak the build.

  8. fanquake merged this on Sep 16, 2021
  9. fanquake closed this on Sep 16, 2021

  10. bitcoin locked this on Oct 30, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-19 06:53 UTC