tests/pymox/stubout_testee.py
author Sverre Rabbelier <srabbelier@gmail.com>
Sun, 19 Apr 2009 00:07:05 +0000
changeset 2232 3c1e0b915803
parent 1000 9af147fc1f1c
permissions -rw-r--r--
Add a random chance to ignore a job to reduce contention This should probably be solved better (perhaps with a binary exponential backoff). Patch by: Sverre Rabbelier

def SampleFunction():
  raise Exception('I should never be called!')