kibana/tasks
spalger 88427e9a43 add test sharding
The tests in master are currently failing regularly because our current browser tests are serious memory hogs. Investigation reveals that nearly every test is retaining all of the memory it causes to be allocated. We have made some progress to being able to diagnose the problems, but we expect that problem to take some serious work to fix. We need a short-term solution though, and this is it.

Rather than modify the bundling process, we will shard the top-level test suites by name. For now, we've created 4 shards, but adding new shards is trivial if we need to.

Sharding is accomplished by creating a murmur3 hash of the top level suite names, then bucketing based on the hash output. If a test suite resolves to shard2, but we are running shard1, we simply never pass the function to `mocha.describe()`. Rather than redefine every describe statement, we have shimmed the global `window.describe()` function to accomplish this.
2016-09-02 10:38:29 -07:00
..
build Bump marked 2016-07-27 08:54:33 -05:00
config add test sharding 2016-09-02 10:38:29 -07:00
utils [grunt/collectFilesToCommit] fix the broken "pathsToIgnore" filter 2016-04-22 10:39:34 -05:00
check_added_filenames.js [filenames] allow rule-breaking in docs, tasks/config, and webpackShims 2016-03-11 16:42:19 -07:00
collect_files_to_commit.js Use grunt root path when collecting git files 2015-12-29 10:46:22 -05:00
jenkins.js add test sharding 2016-09-02 10:38:29 -07:00
licenses.js Upgrade to Node 6.4.0 2016-08-25 08:40:14 -07:00
lint_staged_files.js Consolidate git file logic in lintStagedFiles task 2015-12-28 17:31:36 -05:00
plugin.js switch to eslint 2015-07-31 17:16:09 -07:00
precommit.js Consolidate git file logic in lintStagedFiles task 2015-12-28 17:31:36 -05:00
reject_rej_files.js [folder structure] installedPlugins -> plugins 2016-07-05 14:05:59 -05:00
release.js Upgrade to Node 6.4.0 2016-08-25 08:40:14 -07:00
release_packages.js [build] Sign debs with sha512 2016-08-15 10:32:22 -05:00
setup_kibana.js add travis config 2016-03-10 23:13:02 -07:00
sterilize.js [npm/clean] rename to sterilize 2016-02-12 12:56:50 -07:00
test.js add test sharding 2016-09-02 10:38:29 -07:00