HomePhabricator

Fix intermittent test failure, reduce test time
8a0b933aaed4Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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.

Details

Provenance
dgenr8Authored on Jul 10 2015, 01:10
deadalnixPushed on May 14 2017, 22:04
Parents
rABC7fc25c2e5d49: Merge pull request #6368
Branches
Unknown
Tags
Unknown

Event Timeline

Tom Harding <tomh@thinlink.com> committed rABC8a0b933aaed4: Fix intermittent test failure, reduce test time (authored by Tom Harding <tomh@thinlink.com>).Jul 10 2015, 01:10