HomePhabricator

[qa] Fix stale data bug in test_compactblocks_not_at_tip

Description

[qa] Fix stale data bug in test_compactblocks_not_at_tip

Clear test_node.last_block before requesting blocks in the
compactblocks_not_at_tip test so comparisons won't fail if a blocks were received
before the test started.

The bug doesn't currently cause any problems due to the order tests run, but
this will change in the next commit.

Details

Provenance
Russell Yanofsky <russ@chaincode.com>Authored on Oct 26 2016, 18:15
Russell Yanofsky <russ@yanofsky.org>Committed on Nov 2 2016, 19:35
deadalnixPushed on May 14 2017, 22:04
Parents
rABC47e9659ecfbe: [qa] Fix bug in compactblocks v2 merge
Branches
Unknown
Tags
Unknown

Event Timeline

Russell Yanofsky <russ@yanofsky.org> committed rABC55bfddcabbf9: [qa] Fix stale data bug in test_compactblocks_not_at_tip (authored by Russell Yanofsky <russ@chaincode.com>).Nov 2 2016, 19:35