Skip to content

[0.16] qa: Backports#13049

Merged
maflcko merged 9 commits intobitcoin:0.16from
maflcko:Mf1804-qa16Backports
Apr 24, 2018
Merged

[0.16] qa: Backports#13049
maflcko merged 9 commits intobitcoin:0.16from
maflcko:Mf1804-qa16Backports

Conversation

@maflcko
Copy link
Member

@maflcko maflcko commented Apr 20, 2018

Similar to #12967 this contains all relevant bugfixes and improvements to the functional test suite.

I didn't include fixes to make the tests run on Windows, since that is still an ongoing effort and doesn't seem worth to backport.

As all of these are clean cherry-picks, I suggest reviewers redo the cherry-picks to get the same branch and then run the extended test suite.

kallewoof and others added 9 commits April 20, 2018 14:58
The output would produce arbitrary number of decimal points, sometimes resulting in 9 decimals:
AssertionError: Fee of 0.00000415 BTC too low! (Should be 0.000006175 BTC)
The above looks like the expected fee is 6175 sats when in reality it's 618.

Github-Pull: bitcoin#12486
Rebased-From: 42e1b5d
rpc_net.py would intermittently fail on Travis, probably
due to assuming that two consecutive RPC calls were atomic.
Fix this by only testing that amounts are bounded above and
below rather than equal.

Github-Pull: bitcoin#12804
Rebased-From: 5a67c05
If a cookie file exists in a datadir prior to node startup, it must have
been leftover from a prior unclean shutdown. As bitcoind will overwrite
it anyway, delete it before starting up to prevent the test framework
from inadvertently trying to connect using stale credentials.

Github-Pull: bitcoin#12902
Rebased-From: 75d0e4c
@maflcko maflcko added the Tests label Apr 20, 2018
@fanquake fanquake added this to the 0.16.1 milestone Apr 22, 2018
@laanwj
Copy link
Member

laanwj commented Apr 23, 2018

ACK on commit list.

@fanquake fanquake requested a review from sdaftuar April 24, 2018 03:59
@fanquake fanquake mentioned this pull request Apr 24, 2018
@sdaftuar
Copy link
Member

ACK

@maflcko maflcko merged commit 41c29f6 into bitcoin:0.16 Apr 24, 2018
maflcko pushed a commit that referenced this pull request Apr 24, 2018
41c29f6 qa: Fix python TypeError in script.py (MarcoFalke)
7460945 [qa] Delete cookie file before starting node (Suhas Daftuar)
0a76ed2 qa: Cache only chain and wallet for regtest datadir (MarcoFalke)
6c26df0 [qa] Ensure bitcoind processes are cleaned up when tests end (Suhas Daftuar)
df38b13 [tests] Test starting bitcoind with -h and -version (John Newbery)
4bdb0ce [tests] Fix intermittent rpc_net.py failure. (John Newbery)
0e98f96 test: Use wait_until in tests where time was used for polling (Ben Woosley)
1286f3e test: Use wait_until to ensure ping goes out (Ben Woosley)
cfebd40 [test] Round target fee to 8 decimals in assert_fee_amount (Karl-Johan Alm)

Pull request description:

  Similar to #12967 this contains all relevant bugfixes and improvements to the functional test suite.

  I didn't include fixes to make the tests run on Windows, since that is still an ongoing effort and doesn't seem worth to backport.

  As all of these are clean cherry-picks, I suggest reviewers redo the cherry-picks to get the same branch and then run the extended test suite.

Tree-SHA512: 70e1bc28d5572f93796f1ac4d97d77e8146869c15dcc1e3b65a730fa2641283050f769cefd9791d800c758e0a92f11fd55ed0797ccec87b897c7e701d0187f34
@maflcko maflcko deleted the Mf1804-qa16Backports branch April 24, 2018 14:03
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants