fix ES index name so it stays the same within a test case
This commit is contained in:
parent
88e8926a59
commit
830fc7f8cc
1 changed files with 1 additions and 2 deletions
|
@ -196,11 +196,10 @@ class SPVNode:
|
||||||
self.session_timeout = 600
|
self.session_timeout = 600
|
||||||
self.rpc_port = '0' # disabled by default
|
self.rpc_port = '0' # disabled by default
|
||||||
self.stopped = False
|
self.stopped = False
|
||||||
self.index_name = None
|
self.index_name = uuid4().hex
|
||||||
|
|
||||||
async def start(self, blockchain_node: 'BlockchainNode', extraconf=None):
|
async def start(self, blockchain_node: 'BlockchainNode', extraconf=None):
|
||||||
self.data_path = tempfile.mkdtemp()
|
self.data_path = tempfile.mkdtemp()
|
||||||
self.index_name = uuid4().hex
|
|
||||||
conf = {
|
conf = {
|
||||||
'DESCRIPTION': '',
|
'DESCRIPTION': '',
|
||||||
'PAYMENT_ADDRESS': '',
|
'PAYMENT_ADDRESS': '',
|
||||||
|
|
Loading…
Reference in a new issue