def METHOD_NAME(self):
    hits = [0]
    def counter(sock, addr):
        hits[0] += 1
    l = eventlet.listen(('localhost', 0))
    gt = eventlet.spawn(eventlet.serve, l, counter)
    for i in six.moves.range(100):
        client = eventlet.connect(('localhost', l.getsockname()[1]))
        self.assertFalse(client.recv(100))
    gt.kill()
    self.assertEqual(100, hits[0])