Random failing org.eclipse.core.tests.resources.CharsetTest.testDeltasContainer

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

Start with CharsetTest.testDeltasContainer in the stack trace and inspect MultipleDeltasCharsetVerifier.assertExpectedDeltasWereReceived, then read ResourceDeltaVerifier.isDeltaValid to understand why no delta was received. Compare with the earlier issue #584, which reports a related verifier notification problem. Done means the test reliably receives and verifies its expected resource deltas.

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

描述

test

https://github.com/eclipse-platform/eclipse.platform/pull/2914/checks?check_run_id=126463918154

Verifier has not yet been given a resource delta
org.opentest4j.AssertionFailedError: Verifier has not yet been given a resource delta
	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:38)
	at org.junit.jupiter.api.Assertions.fail(Assertions.java:138)
	at org.eclipse.core.tests.resources.ResourceDeltaVerifier.isDeltaValid(ResourceDeltaVerifier.java:534)
	at org.eclipse.core.tests.resources.CharsetTest$MultipleDeltasCharsetVerifier.assertExpectedDeltasWereReceived(CharsetTest.java:1469)
	at org.eclipse.core.tests.resources.CharsetTest.testDeltasContainer(CharsetTest.java:1090)
	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)

!ENTRY org.eclipse.core.tests.resources 1 0 2026-11-04 07:56:52.959
!MESSAGE [CharsetTest.testDeltasContainer] setUp

!ENTRY org.eclipse.core.tests.resources 1 0 2026-11-04 07:56:53.919
!MESSAGE [CharsetTest.testDeltasContainer] tearDown

This was already reported in the past via https://github.com/eclipse-platform/eclipse.platform/issues/584

The issue of a ResourceVerifier not being notified about changes has already been an issue with other related test cases:

主要语言
Java
星标
165
派生
174
平均合并
4 天 56 分钟
30 天内合并 PR
36

环境准备

从这里开始

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

eclipse-platform/eclipse.platform 的其他 Issue

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

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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