Skip to content

Commit a4bfbe4

Browse files
authored
Merge pull request #321 from DUNE-DAQ/kbiery/3ru1df_connsvc_startup
Modified the 3ru_1df integtest so that it asks run control to start the Connectivity Service...
2 parents 952aef4 + dea2f46 commit a4bfbe4

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

integtest/3ru_1df_multirun_test.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@
106106
conf_dict.op_env = "integtest"
107107
conf_dict.config_session_name = "3ru1df"
108108
conf_dict.tpg_enabled = False
109+
# To verify that the ability to have run control start the Connectivity Service continues to
110+
# work, we include that option in this integtest.
111+
conf_dict.connsvc_control = data_classes.ConnSvcControl.RUNCONTROL
109112

110113
conf_dict.config_substitutions.append(
111114
data_classes.attribute_substitution(
@@ -170,6 +173,13 @@ def test_dunerc_success(run_dunerc, caplog):
170173

171174

172175
def test_log_files(run_dunerc):
176+
# Check that the ConnSvc log file has the name that run control uses
177+
if not any(
178+
f"{run_dunerc.daq_session_name}_local-connection-server" in str(logname) for logname in run_dunerc.log_files
179+
):
180+
fail_msg = "It appears that something other than run control started the Connectivity Service, based on the name of the ConnSvc log file, and one of the conditions of this integtest is to have RC start the ConnSvc."
181+
pytest.fail(fail_msg, pytrace=False)
182+
173183
if check_for_logfile_errors:
174184
# Check that there are no warnings or errors in the log files
175185
assert log_file_checks.logs_are_error_free(

0 commit comments

Comments
 (0)