A means for test cases to mark particular methods
as long running, so that the vstart runner can skip
them when running for developers.
This is not a scientific thing, anything that takes
more than about 2 minutes due to lots of iteration
or sleeps.
Signed-off-by: John Spray <john.spray@redhat.com>
log = logging.getLogger(__name__)
+def long_running(f):
+ """
+ Decorator that adds an "is_long_running" attribute to the wrapped function
+ """
+ f.is_long_running = True
+ return f
+
+
class CephFSTestCase(unittest.TestCase):
"""
Test case for Ceph FS, requires caller to populate Filesystem and Mounts,