Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions integtest/disabled_output_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,18 +93,14 @@
actual_output_path = get_pytest_tmpdir()
resource_validator.free_disk_space_needs(actual_output_path, 1) # what we observe

# The next three variable declarations *must* be present as globals in the test
# file. They're read by the "fixtures" in conftest.py to determine how
# to run the config generation and dunerc

object_databases = ["config/daqsystemtest/integrationtest-objects.data.xml"]

conf_dict = data_classes.drunc_config()
conf_dict = data_classes.integtest_params_for_generated_dunedaq_config()
conf_dict.object_databases = ["config/daqsystemtest/integrationtest-objects.data.xml"]
conf_dict.dro_map_config.n_streams = number_of_data_producers
conf_dict.op_env = "integtest"
conf_dict.config_session_name= "disabled"
conf_dict.tpg_enabled = False
# We accept the default values for all of the other fields in the drunc_config data structure
# We accept the default values for all of the other integtest config parameters
# (defined in integrationtest/src/integrationtest/data_classes.py), including the "frame_file",
# which is the data file that is used to emulated the data. The current default for that field
# specifies a set of WIBEth frames from a relatively recent run at EHN1.)
Expand Down
8 changes: 2 additions & 6 deletions integtest/hdf5_compression_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,9 @@
resource_validator.free_disk_space_needs(actual_output_path, 5) # what we actually use (3) plus margin
resource_validator.total_disk_space_needs(actual_output_path, recommended_total_disk_space=10) # double what we need

# The next three variable declarations *must* be present as globals in the test
# file. They're read by the "fixtures" in conftest.py to determine how
# to run the config generation and dunerc

object_databases = ["config/daqsystemtest/integrationtest-objects.data.xml"]

conf_dict = data_classes.drunc_config()
conf_dict = data_classes.integtest_params_for_generated_dunedaq_config()
conf_dict.object_databases = ["config/daqsystemtest/integrationtest-objects.data.xml"]
conf_dict.dro_map_config.n_streams = number_of_data_producers
conf_dict.dro_map_config.n_apps = number_of_readout_apps
conf_dict.op_env = "integtest"
Expand Down
8 changes: 2 additions & 6 deletions integtest/insufficient_disk_space_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,9 @@
# desired_free_disk_space_gb TriggerRecords before appearing to run out of space.
free_space_safety_factor = round(resource_validator.free_disk_space_gb - desired_size_of_output_disk_gb)

# The next three variable declarations *must* be present as globals in the test
# file. They're read by the "fixtures" in conftest.py to determine how
# to run the config generation and dunerc

object_databases = ["config/daqsystemtest/integrationtest-objects.data.xml"]

conf_dict = data_classes.drunc_config()
conf_dict = data_classes.integtest_params_for_generated_dunedaq_config()
conf_dict.object_databases = ["config/daqsystemtest/integrationtest-objects.data.xml"]
conf_dict.dro_map_config.n_streams = number_of_data_producers
conf_dict.dro_map_config.n_apps = number_of_readout_apps
conf_dict.op_env = "integtest"
Expand Down
8 changes: 2 additions & 6 deletions integtest/large_trigger_record_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,9 @@
resource_validator.free_disk_space_needs(actual_output_path, 16, 20)
resource_validator.total_disk_space_needs(actual_output_path, recommended_total_disk_space=24)

# The next three variable declarations *must* be present as globals in the test
# file. They're read by the "fixtures" in conftest.py to determine how
# to run the config generation and dunerc

object_databases = ["config/daqsystemtest/integrationtest-objects.data.xml"]

conf_dict = data_classes.drunc_config()
conf_dict = data_classes.integtest_params_for_generated_dunedaq_config()
conf_dict.object_databases = ["config/daqsystemtest/integrationtest-objects.data.xml"]
conf_dict.dro_map_config.n_streams = number_of_data_producers
conf_dict.dro_map_config.n_apps = number_of_readout_apps
conf_dict.op_env = "integtest"
Expand Down
8 changes: 2 additions & 6 deletions integtest/max_file_size_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,9 @@
resource_validator.free_disk_space_needs(actual_output_path, 6, 10) # 20% more than what we need
resource_validator.total_disk_space_needs(actual_output_path, recommended_total_disk_space=15) # double what we need

# The next three variable declarations *must* be present as globals in the test
# file. They're read by the "fixtures" in conftest.py to determine how
# to run the config generation and dunerc

object_databases = ["config/daqsystemtest/integrationtest-objects.data.xml"]

conf_dict = data_classes.drunc_config()
conf_dict = data_classes.integtest_params_for_generated_dunedaq_config()
conf_dict.object_databases = ["config/daqsystemtest/integrationtest-objects.data.xml"]
conf_dict.dro_map_config.n_streams = number_of_data_producers
conf_dict.dro_map_config.n_apps = number_of_readout_apps
conf_dict.op_env = "integtest"
Expand Down
8 changes: 2 additions & 6 deletions integtest/multiple_data_writers_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,9 @@
actual_output_path = get_pytest_tmpdir()
resource_validator.free_disk_space_needs(actual_output_path, 1) # what we observe

# The next three variable declarations *must* be present as globals in the test
# file. They're read by the "fixtures" in conftest.py to determine how
# to run the config generation and dunerc

object_databases = ["config/daqsystemtest/integrationtest-objects.data.xml"]

conf_dict = data_classes.drunc_config()
conf_dict = data_classes.integtest_params_for_generated_dunedaq_config()
conf_dict.object_databases = ["config/daqsystemtest/integrationtest-objects.data.xml"]
conf_dict.dro_map_config.n_streams = number_of_data_producers
conf_dict.dro_map_config.n_apps = number_of_readout_apps
conf_dict.op_env = "integtest"
Expand Down
9 changes: 2 additions & 7 deletions integtest/offline_prod_run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,11 @@
],
}

# The next three variable declarations *must* be present as globals in the test
# file. They're read by the "fixtures" in conftest.py to determine how
# to run the config generation and dunerc

# The arguments to pass to the config generator, excluding the json
# output directory (the test framework handles that)

object_databases = ["config/daqsystemtest/integrationtest-objects.data.xml"]

conf_dict = data_classes.drunc_config()
conf_dict = data_classes.integtest_params_for_generated_dunedaq_config()
conf_dict.object_databases = ["config/daqsystemtest/integrationtest-objects.data.xml"]
conf_dict.dro_map_config.n_streams = number_of_data_producers
conf_dict.op_env = "integtest"
conf_dict.config_session_name= "prodruntype"
Expand Down
8 changes: 2 additions & 6 deletions integtest/trmonrequestor_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,9 @@
],
}

# The next three variable declarations *must* be present as globals in the test
# file. They're read by the "fixtures" in conftest.py to determine how
# to run the config generation and dunerc

object_databases = ["config/daqsystemtest/integrationtest-objects.data.xml"]

conf_dict = data_classes.drunc_config()
conf_dict = data_classes.integtest_params_for_generated_dunedaq_config()
conf_dict.object_databases = ["config/daqsystemtest/integrationtest-objects.data.xml"]
conf_dict.dro_map_config.n_streams = number_of_data_producers
conf_dict.op_env = "integtest"
conf_dict.config_session_name= "trmonrequestor"
Expand Down