fix linting
ci / lint (push) Waiting to run
ci / tests / unit (macos-latest) (push) Waiting to run
ci / tests / unit (ubuntu-latest) (push) Waiting to run
ci / tests / unit (windows-latest) (push) Waiting to run
ci / tests / integration (blockchain) (push) Waiting to run
ci / tests / integration (claims) (push) Waiting to run
ci / tests / integration (claims_legacy_search) (push) Waiting to run
ci / tests / integration (datanetwork) (push) Waiting to run
ci / tests / integration (other) (push) Waiting to run
ci / tests / integration (takeovers) (push) Waiting to run
ci / tests / integration (takeovers_legacy_search) (push) Waiting to run
ci / tests / integration (transactions) (push) Waiting to run

This commit is contained in:
Jeffrey Picard committed 2022-04-20 18:24:52 +00:00
1 parent 77fa5e9782
commit ca701cf3fd
1 file changed
-2
-2
View File
@@ -284,11 +284,9 @@ class IntegrationTestCase(AsyncioTestCase):
if self.ledger.config.get('use_go_hub'):
server = self.conductor.spv_node.server
while True:
# self.log.warning('server.db.db_height: %s, self.ledger.headers.height: %s', server.db.db_height, self.ledger.headers.height)
if server.db.db_height >= height and \
server._go_hub_height == server.db.db_height == server._es_height:
return True
# self.log.warning('Waiting for header %s', height)
await server.synchronized.wait()
server.es_synchronized.clear()
server.go_hub_synchronized.clear()