alibaba/Sentinel

Flaky test

开放

#2,974 创建于 2022年11月26日

 (2 条评论) (0 个反应) (0 位负责人)Java (8,150 个派生)batch import
area/testgood first issue

仓库指标

星标
 (23,109 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Issue Description

Bug report

Describe what happened (or what feature you want)

The test com.alibaba.csp.sentinel.adapter.reactor.MonoSentinelOperatorIntegrationTest.testEmitSingleLongTimeRt fails when run by itself. But it passes when other methods run before it. Thus, the test is flaky Acc. to the definitions mentioned in IDOFT.

Describe what you expected to happen

The test should pass when run on its own.

How to reproduce it (as minimally and precisely as possible)

Run the test on its own. It will fail. Run the test class. It will pass.

Tell us your environment

Java 1.8 Windows 10 Education. Maven 3.6.3

Anything else we need to know?

贡献者指南