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

4.x: Separate `TestHelper.race` uses so they can run `@Isolated`

未关闭
#8,075 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
冷清
技术栈
java
领域
testing

调研方向

首先定位现有的 TestHelper.race 使用处,以及依赖交错执行来暴露失败的 race 测试。检查 JUnit 6 @Isolated 如何应用于测试,然后查找尚未转换的手动 race 测试。相关 race 测试已分离、隔离,并且仍能触发其预期的失败条件,即视为完成。

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

描述

4.x PR welcome Test Test-Failures

There are no failures but the race tests are there to provoke failures. Them not failing when run parallel might just indicate the failure condition wasn't triggered due to interleaving.

Separating them out and running them JUnit 6 @Isolated can restore faith.

Also double check for any manual racing tests that haven't been converted to TestHelper.race before.

PR Welcome.

主要语言
Java
星标
48.2k
派生
7.6k
平均合并
3 小时 2 分钟
30 天内合并 PR
27

环境准备

从这里开始

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

ReactiveX/RxJava 的其他 Issue

查看 ReactiveX/RxJava 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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