tearDown() should run before daemon shutdown
This commit is contained in:
parent
b2117fddab
commit
64898d43f1
1 changed files with 1 additions and 1 deletions
|
@ -163,9 +163,9 @@ class CommandTestCase(IntegrationTestCase):
|
||||||
self.manager.old_db = self.daemon.storage
|
self.manager.old_db = self.daemon.storage
|
||||||
|
|
||||||
async def tearDown(self):
|
async def tearDown(self):
|
||||||
|
await super().tearDown()
|
||||||
self.wallet_component._running = False
|
self.wallet_component._running = False
|
||||||
await d2f(self.daemon._shutdown())
|
await d2f(self.daemon._shutdown())
|
||||||
await super().tearDown()
|
|
||||||
|
|
||||||
async def confirm_tx(self, txid):
|
async def confirm_tx(self, txid):
|
||||||
""" Wait for tx to be in mempool, then generate a block, wait for tx to be in a block. """
|
""" Wait for tx to be in mempool, then generate a block, wait for tx to be in a block. """
|
||||||
|
|
Loading…
Add table
Reference in a new issue