Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Feature]: New and replacement integration / regression tests

Aperta
#428 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cpp, python
Ambito
testing-qa

Direzione di ricerca

Inizia esaminando i test di integrazione rimossi o non funzionanti tc_time_outside_window_test.py e td_leakage_between_runs_test.py, quindi leggi i commenti in PR 249. Chiarisci come sono configurati i frammenti di TriggerCandidate e le finestre di richiesta di TriggerDecision prima di ripristinare i test; il lavoro è completato quando i test di regressione sostitutivi vengono eseguiti correttamente, includendo qualsiasi copertura utile di TC-merging.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C++
Stelle
0
Fork
8
Merge medio
3h 50m
PR unite (30g)
1

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DUNE-DAQ/trigger

Tutte le issue di DUNE-DAQ/trigger

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.