parent
cbc15b91fa
commit
f157a5d697
|
@ -14,17 +14,11 @@ conf_iocapture = "fd" # overridable from conftest.py
|
||||||
pytest_plugins = "default terminal xfail tmpdir execnetcleanup resultlog monkeypatch".split()
|
pytest_plugins = "default terminal xfail tmpdir execnetcleanup resultlog monkeypatch".split()
|
||||||
|
|
||||||
# ===================================================
|
# ===================================================
|
||||||
# Distributed testing specific options
|
# settings in conftest only (for now) - for distribution
|
||||||
|
|
||||||
#dist_hosts: needs to be provided by user
|
|
||||||
#dist_rsync_roots: might be provided by user, if not present or None,
|
|
||||||
# whole pkgdir will be rsynced
|
|
||||||
|
|
||||||
dist_taskspernode = 15
|
|
||||||
dist_boxed = False
|
dist_boxed = False
|
||||||
if hasattr(py.std.os, 'nice'):
|
if hasattr(py.std.os, 'nice'):
|
||||||
dist_nicelevel = py.std.os.nice(0) # nice py.test works
|
dist_nicelevel = py.std.os.nice(0) # nice py.test works
|
||||||
else:
|
else:
|
||||||
dist_nicelevel = 0
|
dist_nicelevel = 0
|
||||||
dist_rsync_ignore = []
|
|
||||||
|
|
||||||
|
|
|
@ -146,11 +146,6 @@ class RescheduleItems(BaseEvent):
|
||||||
def __init__(self, items):
|
def __init__(self, items):
|
||||||
self.items = items
|
self.items = items
|
||||||
|
|
||||||
#class HostGatewayReady(BaseEvent):
|
|
||||||
# def __init__(self, host, roots):
|
|
||||||
# self.host = host
|
|
||||||
# self.roots = roots
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------
|
# ---------------------------------------------------------------------
|
||||||
# Events related to rsyncing
|
# Events related to rsyncing
|
||||||
# ---------------------------------------------------------------------
|
# ---------------------------------------------------------------------
|
||||||
|
|
|
@ -207,7 +207,7 @@ class PytestPluginHooks:
|
||||||
""" Node is down. """
|
""" Node is down. """
|
||||||
|
|
||||||
def pyevent_rescheduleitems(self, event):
|
def pyevent_rescheduleitems(self, event):
|
||||||
""" Items from a host that went down. """
|
""" Items from a node that went down. """
|
||||||
|
|
||||||
def pyevent_looponfailinginfo(self, event):
|
def pyevent_looponfailinginfo(self, event):
|
||||||
""" info for repeating failing tests. """
|
""" info for repeating failing tests. """
|
||||||
|
|
Loading…
Reference in New Issue