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

Abierto
#2,057 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@Wikid82 ya está trabajando en esto.

Desde el 25/11/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.

Lenguaje dominante
Go
Estrellas
17
Forks
2
Merge medio
1 h 42 min
PR fusionados (30 d)
173

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Wikid82/Charon

Todos los issues de Wikid82/Charon

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.