Problem: abci tests are slow and unreliable

Solution:
- Removed the `bdb` flag from `test_get_divisble_transactions_returns_500` since it causes Tendermint to crash
- Reduced the sleep cycles from 3s to 1s on `test_upsert_validator`
This commit is contained in:
z-bowen 2018-09-12 14:10:22 +02:00
parent bac26c4a1d
commit 35191f0ca1

View File

@ -244,7 +244,7 @@ def test_upsert_validator(b, node_key, node_keys, ed25519_node_keys):
new_validator, None).sign([node_key.private_key])
code, message = b.write_transaction(election, 'broadcast_tx_commit')
assert code == 202
time.sleep(3)
time.sleep(1)
assert b.get_transaction(election.id)
@ -252,7 +252,7 @@ def test_upsert_validator(b, node_key, node_keys, ed25519_node_keys):
assert tx_vote.validate(b)
code, message = b.write_transaction(tx_vote, 'broadcast_tx_commit')
assert code == 202
time.sleep(3)
time.sleep(1)
resp = requests.get(b.endpoint + 'validators')
validator_pub_keys = []