Skip to content

Commit c97c961

Browse files
Extra comments
1 parent f5a763a commit c97c961

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test_genie_python_dae.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,9 @@ def test_GIVEN_running_instrument_WHEN_block_logging_but_not_changing_THEN_block
161161
self.fail_if_not_in_setup()
162162
set_genie_python_raises_exceptions(True)
163163
test_block_name = "FLOAT_BLOCK"
164+
# number of planned restarts due to a begin/end
164165
r_cnt_start = g.get_pv("DAE:_RESTART_ARCHIVER_CNT", is_local=True)
166+
# number of forced restarts due to background check
165167
fr_cnt_start = g.get_pv("DAE:_FR_ARCHIVER_CNT", is_local=True)
166168
ncheck = 10
167169
# block is not changing but check we get at least one value logged
@@ -193,7 +195,7 @@ def test_function(f: h5py.File, run_number: int) -> None:
193195
)
194196

195197
nexus_file_with_retry(g.adv.get_instrument(), run_number, test_function)
196-
# check archiver has restarted expected number of times and no force restarts
198+
# check archiver has restarted expected number of times and no forced restarts
197199
# ARBLOCK restarted on begin and end hence factor 2
198200
r_cnt = g.get_pv("DAE:_RESTART_ARCHIVER_CNT", is_local=True)
199201
fr_cnt = g.get_pv("DAE:_FR_ARCHIVER_CNT", is_local=True)

0 commit comments

Comments
 (0)