ClusterRunner icon indicating copy to clipboard operation
ClusterRunner copied to clipboard

Add executor_setup and executor_teardown config sections

Open drobertduke opened this issue 9 years ago • 2 comments

We need sections for setting up / tearing down per executor.

drobertduke avatar Apr 17 '15 23:04 drobertduke

@drobertduke @tjlee0909 Do you guys remember what the use case for this was?

josephharrington avatar Jan 18 '16 20:01 josephharrington

The use case we had was browser-based tests. For browser-based tests we need to start selenium, start a browser, load the seed database into mysql and wire everything up. These resources are too heavy to start and tear down per-atom, and they can't be managed per-machine because they don't support parallelization (you don't want multiple executors hitting the same browser). A per-executor setup would allow the management of resources that require serialized tests, but are too heavy to start/stop per atom.

drobertduke avatar Jan 18 '16 20:01 drobertduke