Fix intermittent test failure, reduce test time #6414

pull dgenr8 wants to merge 1 commits into bitcoin:master from dgenr8:clone_test_improve changing 2 files +5 −3
  1. dgenr8 commented at 1:32 AM on July 10, 2015: contributor

    In txn_clone.py, non-essential test transaction tx2 was asserted to be unconfirmed, but would occasionally confirm depending on network behavior. Fix by explicitly sharing with miner and checking for 1 confirmation.

    Reduce required conflict tests from 4 to 2, by moving one invocation each of txn_clone.py and txn_doublespend.py to the extended test section. This saves about 15 seconds per test run for me.

  2. Fix intermittent test failure, reduce test time
    In txn_clone.py, non-essential test transaction tx2 was asserted
    to be unconfirmed, but would occasionally confirm depending on
    network behavior.  Fix by explicitly sharing with miner and
    checking for 1 confirmation.
    
    Reduce required conflict tests from 4 to 2, by moving one invocation
    each of txn_clone.py and txn_doublespend.py to the extented test
    section.  This saves about 15 seconds per test run for me.
    8a0b933aae
  3. laanwj added the label Tests on Jul 10, 2015
  4. laanwj commented at 12:15 PM on July 10, 2015: member

    utACK

  5. laanwj merged this on Jul 10, 2015
  6. laanwj closed this on Jul 10, 2015

  7. laanwj referenced this in commit 5121c68657 on Jul 10, 2015
  8. zkbot referenced this in commit 57d420e2f8 on Feb 15, 2017
  9. zkbot referenced this in commit 88c209dba6 on Feb 20, 2017
  10. dgenr8 deleted the branch on Sep 19, 2018
  11. DrahtBot locked this on Dec 16, 2021
Contributors
Labels

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-13 18:15 UTC

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