'If the rpc_address is 0.0.0.0, the "peer" column should be used instead.'

def test_wait_for_schema_agreement_rpc_lookup(self):

    self.connection.peer_results[1].append(['0.0.0.0', PEER_IP, 'b', 'dc1', 'rack1', ['3', '103', '203']])
    host = Host('0.0.0.0', SimpleConvictionPolicy)
    self.cluster.metadata.hosts[PEER_IP] = host
    host.is_up = False
    self.assertTrue(self.control_connection.wait_for_schema_agreement())
    self.assertEqual(self.time.clock, 0)
    host.is_up = True
    self.assertFalse(self.control_connection.wait_for_schema_agreement())
    self.assertGreaterEqual(self.time.clock, self.cluster.max_schema_agreement_wait)
