Skip to content

Instantly share code, notes, and snippets.

@sanket1729
Created September 4, 2019 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sanket1729/b2a8391b84c1f87323a23c03cf4017d2 to your computer and use it in GitHub Desktop.
Save sanket1729/b2a8391b84c1f87323a23c03cf4017d2 to your computer and use it in GitHub Desktop.
2019-09-04T19:06:36.277000Z TestFramework (INFO): Tests successful
sanket1729@sanket-ubuntu:~/bitcoin/test/functional$ python3 example_test.py
2019-09-04T20:02:01.246000Z TestFramework (INFO): Initializing test directory /tmp/test79crzh96
2019-09-04T20:02:02.213000Z TestFramework (INFO): Starting test!
2019-09-04T20:02:02.214000Z TestFramework (INFO): Calling a custom function
2019-09-04T20:02:02.214000Z TestFramework (INFO): Calling a custom method
2019-09-04T20:02:02.214000Z TestFramework (INFO): Running custom_method
2019-09-04T20:02:02.214000Z TestFramework (INFO): Create some blocks
2019-09-04T20:02:02.229000Z TestFramework (INFO): Wait for node1 to reach current tip (height 11) using RPC
2019-09-04T20:02:02.234000Z TestFramework (INFO): Connect node2 and node1
2019-09-04T20:02:02.292000Z TestFramework (INFO): Add P2P connection to node2
2019-09-04T20:02:02.343000Z TestFramework (INFO): Wait for node2 reach current tip. Test that it has propagated all the blocks to us
2019-09-04T20:02:02.395000Z TestFramework (INFO): Check that each block was received only once
2019-09-04T20:02:02.446000Z TestFramework (INFO): Stopping nodes
2019-09-04T20:02:02.758000Z TestFramework (INFO): Cleaning up /tmp/test79crzh96 on exit
2019-09-04T20:02:02.759000Z TestFramework (INFO): Tests successful
sanket1729@sanket-ubuntu:~/bitcoin/test/functional$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment