fix ES index name so it stays the same within a test case

This commit is contained in:
Jack Robison 2021-09-29 13:06:55 -04:00
parent 33e8ef75ff
commit 09db868a28
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -196,11 +196,10 @@ class SPVNode:
self.session_timeout = 600
self.rpc_port = '0' # disabled by default
self.stopped = False
self.index_name = None
self.index_name = uuid4().hex
async def start(self, blockchain_node: 'BlockchainNode', extraconf=None):
self.data_path = tempfile.mkdtemp()
self.index_name = uuid4().hex
conf = {
'DESCRIPTION': '',
'PAYMENT_ADDRESS': '',