flake: TestDLQHandlerNode_Nack_ForwardToDLQ_Fail under -race on a loaded machine

Aperta
#3,496 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go

Direzione di ricerca

Start with pkg/lifecycle/stream/dlq_test.go:273 and inspect TestDLQHandlerNode_Nack_ForwardToDLQ_Fail for sleeps or ordering assumptions; compare its synchronization with the DLQ handler behavior in pkg/lifecycle/stream/dlq.go. Reproduce with go test -race -count=20 in the stream package, then make the test deterministic and rerun it under race detection.

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

Descrizione

TestDLQHandlerNode_Nack_ForwardToDLQ_Fail (pkg/lifecycle/stream/dlq_test.go:273) failed in 2 of 20 go test -race -count=20 runs of the stream package during the review of #3483 (head a70845dd), on a heavily loaded machine. #3483 does not touch dlq.go or dlq_test.go. Re-runs on the same head did not reproduce it: 200 isolated runs and 10 full-package runs under -race all passed. Likely a timing-sensitive test under CPU load. Investigate (look for sleeps or ordering assumptions in the test) and make it deterministic.

Lingua principale
Go
Stelle
617
Fork
69
Merge medio
8h 5m
PR unite (30g)
122

Preparare l'ambiente

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 ConduitIO/conduit

Tutte le issue di ConduitIO/conduit

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.