Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

ListViewerRefreshTest.testNoSelectionRefresh fails on Linux

未关闭
#3,797 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
java
领域
testing

调研方向

Start with ListViewerRefreshTest.testNoSelectionRefresh at line 92 and compare the failing assertion with the linked Linux test results and workspace log. Investigate why the refresh leaves the selection-related value at 0 on Linux; done means the test passes on Linux without breaking the viewer refresh behavior.

由索引模型根据 Issue 内容生成。

描述

test

See: https://download.eclipse.org/eclipse/downloads/drops4/I20260318-0320/reports.html#tests

https://download.eclipse.org/eclipse/downloads/drops4/I20260318-0320/testresults/html/org.eclipse.jface.tests_ep440I-unit-linux-x86_64-java25_linux.gtk.x86_64_25.html

expected: not equal but was: <0>

org.opentest4j.AssertionFailedError: expected: not equal but was: <0>
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at org.junit.jupiter.api.AssertNotEquals.failEqual(AssertNotEquals.java:277)
at org.junit.jupiter.api.AssertNotEquals.assertNotEquals(AssertNotEquals.java:94)
at org.junit.jupiter.api.AssertNotEquals.assertNotEquals(AssertNotEquals.java:86)
at org.junit.jupiter.api.Assertions.assertNotEquals(Assertions.java:1981)
at org.eclipse.jface.tests.viewers.ListViewerRefreshTest.lambda$2(ListViewerRefreshTest.java:92)
at org.eclipse.ui.tests.harness.util.DisplayHelper.waitAndAssertCondition(DisplayHelper.java:295)
at org.eclipse.jface.tests.viewers.ListViewerRefreshTest.testNoSelectionRefresh(ListViewerRefreshTest.java:92)
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) 

Workspace log: https://download.eclipse.org/eclipse/downloads/drops4/I20260318-0320/testresults/ep440I-unit-linux-x86_64-java25_linux.gtk.x86_64_25/org.eclipse.jface.tests.AllTests.txt

!SESSION 2026-03-18 10:16:53.047 -----------------------------------------------
eclipse.buildId=4.40.0.I20260318-0320
java.version=25.0.2
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -application org.eclipse.test.coretestapplication formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/home/jenkins/agent/workspace/AutomatedTests/ep440I-unit-linux-x86_64-java25/workarea/I20260318-0320/eclipse-testing/test-eclipse/eclipse/org.eclipse.jface.tests.AllTests.xml -testPluginName org.eclipse.jface.tests -className org.eclipse.jface.tests.AllTests -timeout 7200000 -junitReportOutput /home/jenkins/agent/workspace/AutomatedTests/ep440I-unit-linux-x86_64-java25/workarea/I20260318-0320/eclipse-testing/results/ep440I-unit-linux-x86_64-java25_linux.gtk.x86_64_25
Command-line arguments:  -application org.eclipse.test.coretestapplication -data /home/jenkins/agent/workspace/AutomatedTests/ep440I-unit-linux-x86_64-java25/workarea/I20260318-0320/eclipse-testing/test-eclipse/eclipse/jface_sniff_folder formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/home/jenkins/agent/workspace/AutomatedTests/ep440I-unit-linux-x86_64-java25/workarea/I20260318-0320/eclipse-testing/test-eclipse/eclipse/org.eclipse.jface.tests.AllTests.xml -testPluginName org.eclipse.jface.tests -className org.eclipse.jface.tests.AllTests -os linux -ws gtk -arch x86_64 -consolelog -timeout 7200000 -junitReportOutput /home/jenkins/agent/workspace/AutomatedTests/ep440I-unit-linux-x86_64-java25/workarea/I20260318-0320/eclipse-testing/results/ep440I-unit-linux-x86_64-java25_linux.gtk.x86_64_25

!ENTRY org.eclipse.e4.ui.workbench3 1 0 2026-03-18 10:16:59.069
!MESSAGE starting DumpStackTracesTimer with timeout=7080000 at 2026-03-18 10:16:59 +0000
Comparisons required by lazy collection: 69
Comparisons required by reference implementation: 123

Comparisons required by lazy collection: 81
Comparisons required by reference implementation: 130

Comparisons required by lazy collection: 104
Comparisons required by reference implementation: 109

Comparisons required by lazy collection: 0
Comparisons required by reference implementation: 106

Comparisons required by lazy collection: 0
Comparisons required by reference implementation: 107

Comparisons required by lazy collection: 104
Comparisons required by reference implementation: 108

Comparisons required by lazy collection: 0
Comparisons required by reference implementation: 103

Comparisons required by lazy collection: 0
Comparisons required by reference implementation: 105

Comparisons required by lazy collection: 0
Comparisons required by reference implementation: 103

Comparisons required by lazy collection: 0
Comparisons required by reference implementation: 184

Comparisons required by lazy collection: 104
Comparisons required by reference implementation: 108

Comparisons required by lazy collection: 104
Comparisons required by reference implementation: 106

Comparisons required by lazy collection: 104
Comparisons required by reference implementation: 118

Comparisons required by lazy collection: 78
Comparisons required by reference implementation: 114

Comparisons required by lazy collection: 59
Comparisons required by reference implementation: 121

Comparisons required by lazy collection: 74
Comparisons required by reference implementation: 120

Comparisons required by lazy collection: 104
Comparisons required by reference implementation: 105

Comparisons required by lazy collection: 94
Comparisons required by reference implementation: 130

Comparisons required by lazy collection: 104
Comparisons required by reference implementation: 103

Comparisons required by lazy collection: 78
Comparisons required by reference implementation: 152

Comparisons required by lazy collection: 104
Comparisons required by reference implementation: 103

Using the cached GtkAdjustment, topIndex is 39
Using the cached GtkAdjustment, topIndex is 39
Using the cached GtkAdjustment, topIndex is 39
Using the cached GtkAdjustment, topIndex is 39
Using the cached GtkAdjustment, topIndex is 0
Using the cached GtkAdjustment, topIndex is 0

Console log: https://download.eclipse.org/eclipse/downloads/drops4/I20260318-0320/testresults/consolelogs/ep440I-unit-linux-x86_64-java25_linux.gtk.x86_64_25_consolelog.txt

console_log.txt

主要语言
Java
星标
124
派生
269
平均合并
2 天 5 小时
30 天内合并 PR
65

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

eclipse-platform/eclipse.platform.ui 的其他 Issue

查看 eclipse-platform/eclipse.platform.ui 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。