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:
parent
b408b57eda
commit
63635f12fc
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user