sahara/sahara/tests
Dmitry Mescheryakov 9cd9013a49 Avoid deleting transient cluster before job is started
In order to run job on a transient cluster client needs to execute
two commands:
 * create cluster with is_transient=true
 * run job on it in a regular manner

We terminate unneeded transient clusters in a periodic job, which
terminates cluster if cluster is transient and no job is running on it
at a time. We also do not terminate cluster if its lifetime is smaller
then config parameter min_transient_cluster_active_time. For some
reason the parameter is set to 0 by default, which could cause
premature cluster termination if periodic task runs between
cluster creation and job execution.

Also added unit tests to verify min_transient_cluster_active_time.

Change-Id: I5330a969ea7cd81ec2759a7fe32bab4a5de3fb4c
(cherry picked from commit 400d90da07)
2014-06-24 14:19:44 +00:00
..
integration Cleanup of docs for integration tests 2014-04-09 15:29:51 +04:00
unit Avoid deleting transient cluster before job is started 2014-06-24 14:19:44 +00:00
README.rst Change remaining 'savanna' references in sahara/tests 2014-03-19 13:19:07 -04:00
__init__.py Move the savanna subdir to sahara 2014-03-18 16:38:36 +04:00

README.rst

Sahara Testing Infra

This README file attempts to provide current and prospective contributors with everything they need to know in order to start creating unit tests for Sahara.