Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Feature]: New and replacement integration / regression tests

Đang mở
#428 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
cpp, python
Lĩnh vực
testing-qa

Hướng nghiên cứu

Bắt đầu bằng cách xem xét các bài kiểm thử tích hợp đã bị xóa hoặc bị hỏng tc_time_outside_window_test.py và td_leakage_between_runs_test.py, sau đó đọc các bình luận trong PR 249. Làm rõ cách cấu hình các fragment của TriggerCandidate và các cửa sổ request của TriggerDecision trước khi khôi phục các bài kiểm thử; công việc được xem là hoàn tất khi các bài kiểm thử hồi quy thay thế chạy thành công, kèm theo mọi coverage hữu ích cho TC-merging.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
Description

Two of the three existing integtests in the trigger repo are broken. This has been true for a while, and I am going to remove them, for now.

However, the functionality that they once tested would still be good to have. So, I'm filing this Issue to remind us to come back to these tests someday.

  • the tc_time_outside_window_test.py test attempts to validate the expected behavior of TriggerCandidate fragments when the TriggerDecision request window doesn't include the TC time. Unfortunately, at the moment, it is not clear to me how we expect TC fragments to be populated in various conditions, and I'm not sure of the current way (or ways) that we specify TC times versus other times.
  • the td_leakage_between_runs_test.py test attempted to validate the graceful stopping of TriggerDecision messages between the MLT and the DFO. There are comments in this this PR. The stumbling block to getting this integtest working again now is that it is not clear how we would configure the conditions that are likely to demonstrate the problem

In summary, it would be good to bring back these tests someday.

Independent of that, we can imagine other tests that would be useful. Such as ones that validate the behavior of TC merging.

Potential impact radius

Small/Isolated

Reason for change

Validating expected functionality is a good thing

Suggested implementations

No response

Testing suggestions

No response

Anything else?

No response

Ngôn ngữ chính
C++
Star
0
Fork
8
Merge trung bình
3 giờ 50 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DUNE-DAQ/trigger

Tất cả issue của DUNE-DAQ/trigger

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.