1
0
mirror of https://github.com/bigchaindb/bigchaindb.git synced 2024-06-29 00:57:45 +02:00

Problem: Event stream test failing (#2262)

Solution: Extend the wait time for Tendermint to start
This commit is contained in:
Vanshdeep Singh 2018-05-03 16:42:43 +02:00 committed by Troy McConaghy
parent b408b57eda
commit 63635f12fc
2 changed files with 2 additions and 2 deletions

View File

@ -567,7 +567,7 @@ def abci_http(_setup_database, _configure_bigchaindb, abci_server,
import requests
import time
for i in range(5):
for i in range(300):
try:
uri = 'http://{}:{}/abci_info'.format(tendermint_host, tendermint_port)
requests.get(uri)

View File

@ -77,8 +77,8 @@ def test_process_unknown_event():
assert event_queue.empty()
@pytest.mark.abci
@pytest.mark.asyncio
@pytest.mark.abci
async def test_subscribe_events(tendermint_ws_url, b):
from bigchaindb.tendermint.event_stream import subscribe_events
from bigchaindb.common.crypto import generate_key_pair