def test_outstanding_considers_all_responses(self):
        r = RateMeasurer()

        # Send 25 requests
        self.send_requests(r, 5, r.sample_size)

        # Receive successful responses for 20 of those requests
        self.receive_requests(r, 4, r.sample_size)

        # Mark 5 of the requests as failed
        self.failed_requests(r, 1, r.sample_size)

        self.assertEqual(0, r.outstanding())
Requests that fail are considered to be completed requests and
dataset/ETHPy150Open ClusterHQ/flocker/benchmark/scenarios/test/test_rate_measurer.py/RateMeasurerTest.test_outstanding_considers_all_responses