alibaba/Sentinel

Flaky test

Open

#2.974 geöffnet am 26. Nov. 2022

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (23.109 Stars) (8.150 Forks)batch import
area/testgood first issue

Beschreibung

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?

Contributor Guide