CI: GUI smoke test for the Flatpak under Xvfb

Offen
#277 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
58/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
java, linux
Bereich
ci-cd, testing

Rechercherichtung

Start by reading the Flatpak CI setup and the changes from #245 that removed the Wayland socket; the issue does not name specific files or tests. Add a GUI smoke check that installs Xvfb, launches flatpak run net.jdiskmark.JDiskMark with xvfb-run, and checks that it stays up for a few seconds without log errors. Also verify the display behavior in Wayland sessions; done means both checks are covered in CI.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement linux

Follow-up from #245.

The Flatpak CI now installs the bundle and tests the CLI (--version, a tiny write benchmark with JSON export, no jdm.properties written, no SEVERE, log file in the sandbox state dir) plus an informational Flathub lint. The GUI is not tested automatically.

  • Install Xvfb in the container, launch flatpak run net.jdiskmark.JDiskMark under xvfb-run, and assert the process stays up for a few seconds without errors in the log.
  • Confirm display behaviour on Wayland sessions (the Wayland socket was removed in #245; Swing uses X11/XWayland).
Vorherrschende Sprache
Java
Sterne
6
Forks
6
Ø Merge
10 Std. 11 Min.
Gemergte PRs (30 T.)
12

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus JDiskMark/jdm-java

Alle Issues in JDiskMark/jdm-java

Ähnliche Issues

Weitere Issues zu Java

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.