shohu / c0ban

c0ban source tree
MIT License
0 stars 0 forks source link

Pass for bip9-softforks.py #39

Closed shohu closed 6 years ago

shohu commented 6 years ago
# test/functional/bip9-softforks.py
2018-05-31 08:02:35.212000 TestFramework (INFO): Initializing test directory /tmp/testizrrwj5r
2018-05-31 08:02:35.475000 TestFramework.mininode (INFO): Connecting to Bitcoin Node: 127.0.0.1:12182
2018-05-31 08:02:36.100000 TestFramework.comptool (INFO): Test 1: PASS
2018-05-31 08:02:36.346000 TestFramework.comptool (INFO): Test 2: PASS
2018-05-31 08:02:36.586000 TestFramework.comptool (INFO): Test 3: PASS

2018-05-31 08:07:32.695000 TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/c0ban/test/functional/test_framework/test_framework.py", line 120, in main
    self.run_test()
  File "test/functional/bip9-softforks.py", line 40, in run_test
    self.test.run()
  File "/c0ban/test/functional/test_framework/comptool.py", line 389, in run
    self.sync_blocks(block.sha256, len(test_instance.blocks_and_transactions))
  File "/c0ban/test/functional/test_framework/comptool.py", line 213, in sync_blocks
    wait_until(blocks_requested, attempts=20*num_blocks, lock=mininode_lock)
  File "/c0ban/test/functional/test_framework/util.py", line 221, in wait_until
    assert_greater_than(attempts, attempt)
  File "/c0ban/test/functional/test_framework/util.py", line 42, in assert_greater_than
    raise AssertionError("%s <= %s" % (str(thing1), str(thing2)))
AssertionError: 5700 <= 5700
2018-05-31 08:07:32.712000 TestFramework (INFO): Stopping nodes
2018-05-31 08:07:34.935000 TestFramework (WARNING): Not cleaning up dir /tmp/testizrrwj5r
2018-05-31 08:07:34.935000 TestFramework (ERROR): Test failed. Test logging available at /tmp/testizrrwj5r/test_framework.log
shohu commented 6 years ago

I got pass for this test