Berkeley test failing: testConsistencyEnforcement
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- java
- 领域
- databases, testing-qa
调研方向
从 BerkeleyGraphTest.java 第 94 行开始,沿着堆栈跟踪到 ConfigOption.java:243。比较 JUnit 更新前后如何发现 testConsistencyEnforcement,然后确定它为何引发 NullPointerException;完成的标准是该测试具有明确定义的、通过或有意排除的结果,且不掩盖底层失败。
由索引模型根据 Issue 内容生成。
描述
This test is failing in #4135 which simply updates JUnit. However, this test already seems to fail on master, but for some reason it isn't executed there. I've noticed that IntelliJ complains about this test: Old style JUnit test method 'testConsistencyEnforcement()' in JUnit 4 class and its suggested fix simply adds the @Test annotation to it. If I follow that suggestion and add the annotation, then the test is also executed on master and fails there.
So, it seems the JUnit update in #4135 just changes how JUnit discovers the tests which seems to include this test now. I suggest that we exclude the test now explicitly in #4135 so it doesn't stop us from updating JUnit and because this test has effectively been disabled for a long time already, but we should of course still look into it to find out why it is actually failing.
Stack Trace (if you have one)
[ERROR] Tests run: 203, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 258.789 s <<< FAILURE! - in org.janusgraph.graphdb.berkeleyje.BerkeleyGraphTest
[ERROR] org.janusgraph.graphdb.berkeleyje.BerkeleyGraphTest.testConsistencyEnforcement Time elapsed: 0.196 s <<< ERROR!
java.lang.NullPointerException
at org.janusgraph.diskstorage.configuration.ConfigOption.getEnumValue(ConfigOption.java:243)
at org.janusgraph.graphdb.berkeleyje.BerkeleyGraphTest.testConsistencyEnforcement(BerkeleyGraphTest.java:94)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
- 主要语言
- Java
- 星标
- 5.9k
- 派生
- 1.2k
- 平均合并
- 2 天 6 小时
- 30 天内合并 PR
- 77
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
JanusGraph/janusgraph 的其他 Issue
-
Add Janus Studio to the Visualization section可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 1/5 1 小时以内 新手友好度 95/100
JanusGraph/janusgraph#4943 ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 62/100
JanusGraph/janusgraph#1578 ·
维护者通常 2 天内回复
-
kind/bug/possible
难度 4/5 3-5 天 新手友好度 42/100
JanusGraph/janusgraph#5113 ·
维护者通常 2 天内回复
-
kind/bug/possible
难度 4/5 3-5 天 新手友好度 48/100
JanusGraph/janusgraph#5051 · 1 条评论 ·
维护者通常 2 天内回复
-
A vertex looked up by id costs up to three backend reads: its existence, its properties and its label可能已有人在做 @porunov 于 25 天前认领。 未关闭kind/performance
难度 4/5 3-5 天 新手友好度 25/100
JanusGraph/janusgraph#5016 ·
维护者通常 2 天内回复
查看 JanusGraph/janusgraph 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
documentation good first issue priority: low
难度 1/5 1-3 小时 新手友好度 78/100
Gautam-aman/CODOVYN#52 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 85/100
ControlSystemStudio/phoebus#3998 ·
维护者通常 1 天内回复
-
bug/错误
难度 2/5 1-3 小时 新手友好度 64/100
FCL-Team/FoldCraftLauncher#1982 · 2 条评论 ·
维护者通常 1 天内回复