From 5e96e67f1d36e6ec5433a94d2c05d0a63ea6ee14 Mon Sep 17 00:00:00 2001 From: Nate Coraor Date: Thu, 8 Dec 2011 16:10:18 -0500 Subject: [PATCH] Hierarchical object store sample config and functional test capability. --- hierarchical_object_store_conf.xml.sample | 13 +++++++++++++ scripts/functional_tests.py | 5 +++++ 2 files changed, 18 insertions(+) create mode 100644 hierarchical_object_store_conf.xml.sample diff --git a/hierarchical_object_store_conf.xml.sample b/hierarchical_object_store_conf.xml.sample new file mode 100644 index 00000000000..38e61944a9f --- /dev/null +++ b/hierarchical_object_store_conf.xml.sample @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/scripts/functional_tests.py b/scripts/functional_tests.py index 66f2ad682f6..1931a4eebb2 100644 --- a/scripts/functional_tests.py +++ b/scripts/functional_tests.py @@ -59,6 +59,7 @@ def main(): tool_config_file = os.environ.get( 'GALAXY_TEST_TOOL_CONF', 'tool_conf.xml.sample' ) tool_data_table_config_path = 'tool_data_table_conf.xml' tool_dependency_dir = os.environ.get( 'GALAXY_TOOL_DEPENDENCY_DIR', None ) + use_hierarchical_object_store = os.environ.get( 'GALAXY_USE_HIERARCHICAL_OBJECT_STORE', False ) if os.path.exists( 'tool_data_table_conf.test.xml' ): tool_data_table_config_path = 'tool_data_table_conf.test.xml' if start_server: @@ -153,6 +154,10 @@ def main(): if tool_dependency_dir is not None: kwargs['tool_dependency_dir'] = tool_dependency_dir + if use_hierarchical_object_store: + kwargs['object_store'] = 'hierarchical' + kwargs['hierarchical_object_store_config_file'] = 'hierarchical_object_store_conf.xml.sample' + # Build the Universe Application app = UniverseApplication( job_queue_workers = 5, id_secret = 'changethisinproductiontoo',