Commit e02dffd2 authored by Julien Muchembled's avatar Julien Muchembled

qa: fix node names in threaded test logs

Resetting a storage node could mark all TEST log entries as being
emitted by this storage node. For example:

16:18:12.9114 S2         #0x0007 AskStoreObject                 > S1 (...)
parent fb746e6b
...@@ -455,6 +455,10 @@ class StorageApplication(ServerNode, neo.storage.app.Application): ...@@ -455,6 +455,10 @@ class StorageApplication(ServerNode, neo.storage.app.Application):
if self.master_conn: if self.master_conn:
self.master_conn.close() self.master_conn.close()
def loadConfiguration(self):
with Patch(logging, name=self.node_name):
super(StorageApplication, self).loadConfiguration()
def getAdapter(self): def getAdapter(self):
return self._init_args['adapter'] return self._init_args['adapter']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment