Lines Matching refs:stressor
21 stressor = stress.CountedStressor(stress_event)
22 stressor.start(1)
23 self.assertRaises(StopThreadForTesting, stressor.wait)
32 stressor = stress.CountedStressor(stress_event,
34 stressor.start(1)
35 stressor.wait()
47 stressor = stress.CountedStressor(stress_event, on_exit=on_exit)
48 stressor.start(1)
49 stressor.wait()
61 stressor = stress.CountedStressor(stress_event, on_exit=on_exit)
62 stressor.start(1)
63 self.assertRaises(StopThreadForTesting, stressor.wait)
79 stressor = stress.CountedStressor(stress_event)
80 stressor.start(1, start_condition=start_condition)
81 self.assertRaises(StopThreadForTesting, stressor.wait)
100 stressor = stress.ControlledStressor(stress_event)
101 stressor.start(start_condition=start_condition)
103 self.assertRaises(StopThreadForTesting, stressor.stop)
116 stressor = stress.CountedStressor(stress_event)
117 stressor.start(10)
118 stressor.wait()