mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
sleep
This commit is contained in:
parent
68f64ee780
commit
dd0b758bfa
@ -48,4 +48,4 @@ def start():
|
||||
pipeline = create_pipeline()
|
||||
pipeline.setup(indata=get_changefeed())
|
||||
pipeline.start()
|
||||
return pipeline
|
||||
return pipeline
|
||||
|
@ -83,7 +83,7 @@ def test_start(mock_start):
|
||||
mock_start.assert_called_with()
|
||||
|
||||
|
||||
def test_full_pipline(b, user_vk):
|
||||
def test_full_pipeline(b, user_vk):
|
||||
outpipe = Pipe()
|
||||
|
||||
# write two blocks
|
||||
@ -108,7 +108,7 @@ def test_full_pipline(b, user_vk):
|
||||
pipeline = election.create_pipeline()
|
||||
pipeline.setup(indata=election.get_changefeed(), outdata=outpipe)
|
||||
pipeline.start()
|
||||
|
||||
time.sleep(1)
|
||||
# vote one block valid, one invalid
|
||||
vote_valid = b.vote(valid_block['id'], 'abc', True)
|
||||
vote_invalid = b.vote(invalid_block['id'], 'abc', False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user