mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
force wait for index construction
This commit is contained in:
parent
bb0bb9a1b4
commit
929b1ab4dc
@ -54,6 +54,8 @@ 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')
|
||||
|
||||
def fin():
|
||||
print('Deleting `{}` database'.format(db_name))
|
||||
get_conn().repl()
|
||||
|
Loading…
x
Reference in New Issue
Block a user