Implemented a load scheduler that groups tests by scope.

This commit is contained in:
Carlos Jenkins
2017-07-20 16:05:20 -06:00
parent 8356cfa39d
commit b0916f06ce
5 changed files with 443 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ from xdist.slavemanage import NodeManager
from xdist.scheduler import (
EachScheduling,
LoadScheduling,
LoadScopeScheduling,
)
@@ -97,6 +98,7 @@ class DSession:
schedulers = {
'each': EachScheduling,
'load': LoadScheduling,
'loadscope': LoadScopeScheduling,
}
return schedulers[dist](config, log)