Lines Matching refs:limits
157 limits = dict([(k, 0) for k in params])
158 limits[tk] = params[tk] * ndrives
159 self.configure_throttle(ndrives, limits)
160 self.do_test_throttle(ndrives, 5, limits)
175 limits = dict([(k, 0) for k in params])
176 limits[tk] = params[tk] * self.max_drives
177 self.configure_throttle(self.max_drives, limits)
178 self.do_test_throttle(1, 5, limits, drive)
207 limits = dict([(k, 0) for k in params])
208 limits[tk] = burst_rate
209 self.do_test_throttle(ndrives, burst_length, limits)
212 limits[tk] = rate
213 self.do_test_throttle(ndrives, 5, limits)