minor debug
Build on RHEL9 docker image / build (push) Successful in 3m44s
Build on RHEL8 docker image / build (push) Successful in 5m4s
Run Simulator Tests on local RHEL9 / build (push) Failing after 18m27s
Run Simulator Tests on local RHEL8 / build (push) Failing after 20m50s

This commit is contained in:
2026-06-10 01:37:56 +02:00
parent e106bc4e1e
commit fad4c99301
3 changed files with 6 additions and 4 deletions
@@ -19,8 +19,6 @@ void acquire_and_check_file_size(
auto acq_state = acq::default_acquisition_state();
acq_state.num_frames = 2;
auto file_state = acq::default_file_state();
INFO("Acquiring " << ToString(det.getDetectorType().squash(defs::GENERIC))
<< " with num_frames = " << acq_state.num_frames);
acq::run(det, acq_state, file_state);
auto image_size = acq::get_expected_image_size(det, ctb_state);
REQUIRE_NOTHROW(
@@ -257,6 +255,7 @@ void test_ctb_binary_file_size(Detector &det) {
// sysctl net.core.rmem_default=$((100*1024*1024))
TEST_CASE("acquire_check_binary_file_size",
"[.detectorintegration][.disable_check_data_file]") {
INFO(__func__);
Detector det;
auto det_type =
@@ -27,6 +27,7 @@ namespace checks = sls::test::checks;
TEST_CASE("check_master_file_attributes",
"[.detectorintegration][.disable_check_data_file]") {
INFO(__func__);
Detector det;
// currently num frame = 1 (default)
@@ -42,8 +43,6 @@ TEST_CASE("check_master_file_attributes",
}
acq::CTBStateGuard ctb_guard(det, ctb_state);
INFO("Checking master file attributes for " << ToString(detType));
// binary => /tmp/sls_test_master_0.json
file_state.file_format = defs::BINARY;
acq::run(det, acq_state, file_state);
@@ -33,6 +33,10 @@ void run_acquisition(Detector &det) {
void run(Detector &det, const AcquisitionState &acq_state,
const FileState &file_state) {
INFO(ToString(det.getDetectorType().squash(defs::GENERIC))
<< " acquiring with num_frames = " << acq_state.num_frames);
FileStateGuard file_guard(det, file_state);
AcquisitionStateGuard acq_guard(det, acq_state);
run_acquisition(det);