def METHOD_NAME(client):
    with client.get_executor() as e:
        N = 10
        fs = [e.submit(slowinc, i, delay=0.02) for i in range(N)]
        expected = set(range(1, N + 1))
        for f in as_completed(fs):
            res = f.result()
            assert res in expected
            expected.remove(res)
        assert not expected