Skip to content

Commit

Permalink
fix tests for #5655
Browse files Browse the repository at this point in the history
  • Loading branch information
laanwj authored and gmaxwell committed Jan 14, 2015
1 parent 16a5c18 commit 56c1093
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions qa/rpc-tests/httpbasics.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
import urlparse

class HTTPBasicsTest (BitcoinTestFramework):
def setup_nodes(self):
return start_nodes(4, self.options.tmpdir, extra_args=[['-rpckeepalive']]*4)

def run_test(self):

#################################################
Expand Down
5 changes: 4 additions & 1 deletion qa/rpc-tests/test_framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ def setup_chain(self):
print("Initializing test directory "+self.options.tmpdir)
initialize_chain(self.options.tmpdir)

def setup_nodes(self):
return start_nodes(4, self.options.tmpdir)

def setup_network(self, split = False):
self.nodes = start_nodes(4, self.options.tmpdir)
self.nodes = self.setup_nodes()

# Connect the nodes as a "chain". This allows us
# to split the network between nodes 1 and 2 to get
Expand Down

0 comments on commit 56c1093

Please sign in to comment.