Separate tests for "remote" and "remote + extended" metadata.

We should be testing both these scenarios and ensure they both continue to work.
This commit is contained in:
John Chilton
2021-04-14 13:21:15 -04:00
parent 6c098b6226
commit 59fac33d06
2 changed files with 32 additions and 1 deletions
@@ -0,0 +1,32 @@
"""Integration tests for the Pulsar embedded runner with remote metadata."""
import os
from galaxy_test.driver import integration_util
SCRIPT_DIRECTORY = os.path.abspath(os.path.dirname(__file__))
EMBEDDED_PULSAR_JOB_CONFIG_FILE = os.path.join(SCRIPT_DIRECTORY, "embedded_pulsar_metadata_job_conf.yml")
class EmbeddedAndExtendedMetadataPulsarIntegrationInstance(integration_util.IntegrationInstance):
"""Describe a Galaxy test instance with embedded pulsar configured."""
framework_tool_and_types = True
@classmethod
def handle_galaxy_config_kwds(cls, config):
config["job_config_file"] = EMBEDDED_PULSAR_JOB_CONFIG_FILE
config['object_store_store_by'] = 'uuid'
config['metadata_strategy'] = 'extended'
config['retry_metadata_internally'] = False
instance = integration_util.integration_module_instance(EmbeddedAndExtendedMetadataPulsarIntegrationInstance)
test_tools = integration_util.integration_tool_runner(
[
"simple_constructs",
"metadata_bam",
# "job_properties", # https://github.com/galaxyproject/galaxy/issues/11813
]
)
@@ -17,7 +17,6 @@ class EmbeddedMetadataPulsarIntegrationInstance(integration_util.IntegrationInst
def handle_galaxy_config_kwds(cls, config):
config["job_config_file"] = EMBEDDED_PULSAR_JOB_CONFIG_FILE
config['object_store_store_by'] = 'uuid'
config['metadata_strategy'] = 'extended'
config['retry_metadata_internally'] = False