Skip to content

Commit

Permalink
Merge pull request #2160 from pimveldhuisen/devel
Browse files Browse the repository at this point in the history
Remove multichain dispersy timeout test
  • Loading branch information
whirm committed May 3, 2016
2 parents 8f3fc57 + 68f76c8 commit 402a4db
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions Tribler/Test/test_multichain_community.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,22 +282,6 @@ def test_block_values_after_request(self):
# Assert
self.assertEqual((10, 5), node.call(node.community._get_next_total, 0, 0))

def test_signature_request_timeout(self):
""""
Test the community to timeout on a signature request message.
"""
# Arrange
node, other = self.create_nodes(2)
other.send_identity(node)
target_other = self._create_target(node, other)
# Act
node.call(node.community.publish_signature_request_message, target_other, 5, 5)
# Wait for the timeout.
time.sleep(10 + 2) # 10 seconds is the default timeout for a signature request in dispersy
# Assert
self.assertBlocksInDatabase(node, 1)
self.assertBlocksInDatabase(other, 0)

def test_request_block_latest(self):
"""
Test the crawler to request the latest block.
Expand Down

0 comments on commit 402a4db

Please sign in to comment.