mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Split js tests in N subgroups.
js test are the longer ~8 minutes vs ~3 for Python, and fails the more often. Hopefully this will speedup the build and have less test relaunched when we have a random faillure. Splitting should make the js test a bit faster
This commit is contained in:
parent
38d0463557
commit
dc9efdfc98
@ -431,12 +431,9 @@ def prepare_controllers(options):
|
|||||||
not to run."""
|
not to run."""
|
||||||
testgroups = options.testgroups
|
testgroups = options.testgroups
|
||||||
if testgroups:
|
if testgroups:
|
||||||
if 'js' in testgroups:
|
alljs = all_js_groups()
|
||||||
js_testgroups = all_js_groups()
|
|
||||||
else:
|
|
||||||
js_testgroups = [g for g in testgroups if g.startswith(js_prefix)]
|
js_testgroups = [g for g in testgroups if g.startswith(js_prefix)]
|
||||||
|
py_testgroups = [g for g in testgroups if g not in alljs]
|
||||||
py_testgroups = [g for g in testgroups if g not in ['js'] + js_testgroups]
|
|
||||||
else:
|
else:
|
||||||
py_testgroups = py_test_group_names
|
py_testgroups = py_test_group_names
|
||||||
if not options.all:
|
if not options.all:
|
||||||
|
Loading…
Reference in New Issue
Block a user