Merge #10695: [qa] Rewrite BIP65/BIP66 functional tests
commit929fd7276c0f0c30b9416f61a6f5f35d763d81e4
authorMarcoFalke <falke.marco@gmail.com>
Tue, 8 Aug 2017 21:02:35 +0000 (8 23:02 +0200)
committerMarcoFalke <falke.marco@gmail.com>
Tue, 8 Aug 2017 21:04:03 +0000 (8 23:04 +0200)
tree7a2acd38bdc4b32e480127081a31c4168a0785d1
parent2507fd55568b361080e9127f40584af2df64f76e
parent4ccc12a54a217892bd4ccfd94c46052a11cdb3fb
Merge #10695: [qa] Rewrite BIP65/BIP66 functional tests

4ccc12a54 [qa] Rewrite BIP66 functional tests (Suhas Daftuar)
d4f0d87b6 [qa] Rewrite BIP65 functional tests (Suhas Daftuar)

Pull request description:

  After 122786d0e0170c73536360b705af711e1338adbf, BIP65 and BIP66 activate at
  particular fixed heights (without regard to version numbers of blocks
  below those heights).  Rewrite the functional tests to take
  this into account, and remove two tests that weren't really testing anything.

  Moves the rewritten functional tests out of the extended test suite, so that they run in travis regularly.

  Note: I discovered that the ComparisonTestFramework (which the original versions of these p2p tests were written is, has a bug that caused them to not catch obvious errors, eg if you just comment out setting the script flags for these softforks in ConnectBlock, the versions of these tests in master do not fail(!) -- will separately PR a fix for the comparison test framework).

Tree-SHA512: 2108b79951f2e980854d0d14ccc0fd1810a43dd4251fd6e3b203e7f104ea55e00650bb1a60a28c2801b4249f46563a8559ac3e3cd39db220914acfed0b3b163d
test/functional/test_runner.py