test: Speed up wallet_resendwallettransactions with mockscheduler RPC #20112

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2010-testFasterMock changing 1 files +9 −7
  1. MarcoFalke commented at 7:16 AM on October 9, 2020: member

    Also fixes #20143

  2. fanquake added the label Tests on Oct 9, 2020
  3. jonatack commented at 8:26 PM on October 10, 2020: member

    ACK, am seeing a lot of variation in the test run times but it seems to be faster and I like the idea of using this rpc instead of time.sleep() if it's robust.

  4. MarcoFalke commented at 9:04 AM on October 11, 2020: member

    The variation comes from the trickle delay for sending invs

  5. MarcoFalke force-pushed on Oct 13, 2020
  6. test: Speed up wallet_resendwallettransactions test with mockscheduler RPC fa299ac273
  7. MarcoFalke force-pushed on Oct 13, 2020
  8. guggero commented at 9:31 AM on October 22, 2020: contributor

    ACK fa299ac2

    Great speedup! The test runs 3 to 5 seconds faster on my machine compared to master.

  9. MarcoFalke merged this on Oct 22, 2020
  10. MarcoFalke closed this on Oct 22, 2020

  11. MarcoFalke deleted the branch on Oct 22, 2020
  12. sidhujag referenced this in commit c195d64e99 on Oct 22, 2020
  13. fanquake deleted a comment on Oct 22, 2020
  14. fanquake locked this on Oct 22, 2020

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-04-17 06:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me