private boolean executeWasAllowed(Chain<Searcher> chain, String id) {
        return executeWasAllowed(chain, id, 8);  // allowed 8 requests per second over 4 nodes -> 2 per node
    }
Try many requests and return how many was allowed.
This is to avoid testing the exact pattern of request/deny which does not matter
and is determined by floating point arithmetic details when capacity is close to zero.
container-search/src/test/java/com/yahoo/search/searchers/test/RateLimitingSearcherTestCase.java