Only cleanup successful jobs when testing.

As per the recommendation of Ryan G. at http://dev.list.galaxyproject.org/keep-job-output-and-scripts-on-failed-tests-td4667327.html.

I considered making this 'never' - since those files will get cleaned up at the end anyway. This would actually reduce our test coverage related to job cleanup logic - so I have decided this is a fine a middle ground.
This commit is contained in:
John Chilton
2015-06-15 09:53:59 -04:00
parent 185e4fe6f2
commit 374795f631
+1
View File
@@ -345,6 +345,7 @@ def main():
user_library_import_dir=user_library_import_dir,
master_api_key=master_api_key,
use_tasked_jobs=True,
cleanup_job='onsuccess',
enable_beta_tool_formats=True,
data_manager_config_file=data_manager_config_file,
)