mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
wait for indexes
This commit is contained in:
parent
ce86be7747
commit
814d8a1663
@ -54,7 +54,7 @@ def setup_database(request, node_config):
|
||||
r.db(db_name).table('bigchain').index_create('transaction_id', r.row['block']['transactions']['id'],
|
||||
multi=True).run()
|
||||
|
||||
r.db(db_name).table('bigchain').index_wait('transaction_id')
|
||||
r.db(db_name).table('bigchain').index_wait('transaction_id').run()
|
||||
|
||||
def fin():
|
||||
print('Deleting `{}` database'.format(db_name))
|
||||
|
Loading…
x
Reference in New Issue
Block a user