6 failures in FindReplaceOverlayInEditorTest during I-builds

Chiusa
#4,533 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Una pull request collegata è già stata integrata.

  • #4534 di @HeikoKlare — integrata

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
java

Direzione di ricerca

Start with FindReplaceOverlayInEditorTest.focusToolBarButton and testEnterOnAToolBarButtonDoesNotFind, plus FindReplaceTestUtil.waitForFocus, which fails. The reporter suspects pull request 4524, so compare its changes to focus handling against the failing tests and run the six failing tests on Linux GTK. Done when they pass consistently, or the cause is identified and reported to the maintainers.

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

Descrizione

bug test

E.g.:

	The find/replace UI did not receive focus. Focused control: Text {}, active shell: Shell {eclipse_workbench_texteditor_folder - Test - Eclipse SDK} [layout=org.eclipse.e4.ui.workbench.renderers.swt.TrimmedPartLayout@4ff3af97]. Screenshot: /home/jenkins/agent/workspace/builds/ep442I-unit-linux-x86_64-java25/workarea/I20261101-2300/eclipse-testing/results/ep442I-unit-linux-x86_64-java25_linux.gtk.x86_64_25/org.eclipse.ui.internal.findandreplace.FindReplaceUITest.testEnterOnAToolBarButtonDoesNotFind.png

org.opentest4j.AssertionFailedError: The find/replace UI did not receive focus. Focused control: Text {}, active shell: Shell {eclipse_workbench_texteditor_folder - Test - Eclipse SDK} [layout=org.eclipse.e4.ui.workbench.renderers.swt.TrimmedPartLayout@4ff3af97]. Screenshot: /home/jenkins/agent/workspace/builds/ep442I-unit-linux-x86_64-java25/workarea/I20261101-2300/eclipse-testing/results/ep442I-unit-linux-x86_64-java25_linux.gtk.x86_64_25/org.eclipse.ui.internal.findandreplace.FindReplaceUITest.testEnterOnAToolBarButtonDoesNotFind.png
at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:38)
at org.junit.jupiter.api.Assertions.fail(Assertions.java:138)
at org.eclipse.ui.internal.findandreplace.FindReplaceTestUtil.waitForFocus(FindReplaceTestUtil.java:127)
at org.eclipse.ui.internal.findandreplace.overlay.FindReplaceOverlayInEditorTest.focusToolBarButton(FindReplaceOverlayInEditorTest.java:453)
at org.eclipse.ui.internal.findandreplace.overlay.FindReplaceOverlayInEditorTest.testEnterOnAToolBarButtonDoesNotFind(FindReplaceOverlayInEditorTest.java:402)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604) 

This build didn't have the failures:

https://download.eclipse.org/eclipse/downloads/drops4/I20261029-2300/reports.html#tests

These do:

https://download.eclipse.org/eclipse/downloads/drops4/I20261030-2300/reports.html#tests
https://download.eclipse.org/eclipse/downloads/drops4/I20261101-2300/reports.html#tests

I believe the failing tests are coming from (I've not checked all 6 failures): https://github.com/eclipse-platform/eclipse.platform.ui/pull/4524

Lingua principale
Java
Stelle
124
Fork
269
Merge medio
2g 23h
PR unite (30g)
68

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 eclipse-platform/eclipse.platform.ui

Tutte le issue di eclipse-platform/eclipse.platform.ui

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.