test: E2E specs leak providers and hosts, and a proxy group edit test is intermittent

Aperta
#2,057 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Wikid82 ci sta già lavorando.

Dal 25/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

database testing

Found while enabling new E2E specs in the PR that adds a delete guard for DNS providers.

Leaks (low):

  • tests/dns-provider-crud.spec.ts:134 and :210 create "Test Manual Provider" / "Test Webhook Provider" through the UI and never delete them; one of each accumulates per run.
  • About five proxy-*.test.local hosts accumulate per run from another spec (not yet identified).

Intermittent (low): tests/proxy-groups.spec.ts:257 ("preselects the host's current group when editing") failed once in a full run because the edit dialog never opened, and then passed 4 of 4 in isolation. A growing host list from the leaks above may make it worse.

Suggested approach: delete what each test creates in an afterEach/finally, find the spec that leaks the hosts, and re-run the group spec on a clean database to confirm. The E2E tmpfs size is tracked separately in #2050.

Lingua principale
Go
Stelle
17
Fork
2
Merge medio
1h 42m
PR unite (30g)
173

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 Wikid82/Charon

Tutte le issue di Wikid82/Charon

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.