Test failure: HealthIT.testIfServicesAreDown

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
java
Ambito
ci-cd, testing

Direzione di ricerca

Start by locating HealthIT.testIfServicesAreDown and its assertion for http://localhost:9080/health, then inspect the CD pipeline configuration that runs the test. Compare why the endpoint returns 200 instead of the expected 503; done means the test reflects the intended service-down behavior and the container image can be updated.

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

Descrizione

One of the test is failing in the CD pipeline. The container image can't be updated as a result.

[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   HealthIT.testIfServicesAreDown:45 Response code is not matching http://localhost:9080/health ==> expected: <503> but was: <200>
[INFO] 
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0
Lingua principale
Java
Stelle
14
Fork
351
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 OpenLiberty/sample-getting-started

Tutte le issue di OpenLiberty/sample-getting-started

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.