def METHOD_NAME(service_client):
    async def _flush_resolver_cache():
        result = await service_client.get(
            '/chaos/resolver', params={'type': 'flush'},
        )
        assert result.status == 200
        assert result.text == 'flushed'
    return _flush_resolver_cache