From 56f80cbcdadd2f36e752a07ceb0d539048d9f888 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Sun, 20 Feb 2022 12:49:54 -0500 Subject: [PATCH] remove obsolete test_claim_search_as_reader_server --- tests/integration/claims/test_claim_commands.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/integration/claims/test_claim_commands.py b/tests/integration/claims/test_claim_commands.py index 1a3ddb4ee..38a990bd6 100644 --- a/tests/integration/claims/test_claim_commands.py +++ b/tests/integration/claims/test_claim_commands.py @@ -125,18 +125,6 @@ class ClaimSearchCommand(ClaimTestCase): with self.assertRaises(ConnectionResetError): await self.claim_search(claim_ids=claim_ids) - async def test_claim_search_as_reader_server(self): - node2 = SPVNode(self.conductor.spv_module, node_number=2) - current_prefix = self.conductor.spv_node.server.bp.env.es_index_prefix - await node2.start(self.blockchain, extraconf={'ES_MODE': 'reader', 'ES_INDEX_PREFIX': current_prefix}) - self.addCleanup(node2.stop) - self.ledger.network.config['default_servers'] = [(node2.hostname, node2.port)] - await self.ledger.stop() - await self.ledger.start() - channel2 = await self.channel_create('@abc', '0.1', allow_duplicate_name=True) - await asyncio.sleep(1) # fixme: find a way to block on the writer - await self.assertFindsClaims([channel2], name='@abc') - async def test_basic_claim_search(self): await self.create_channel() channel_txo = self.channel['outputs'][0]