Requalify tests as LONG_RUNNING
Prior to this commit, some tests would belong to the PERFORMANCE `TestGroup`, while they were not testing for performance but rather performing functional tests that involve long running operations or timeouts. This commit moves those tests to the LONG_RUNNING `TestGroup`. See gh-24830
This commit is contained in:
@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
|
||||
import org.springframework.core.testfixture.EnabledForTestGroups;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.springframework.core.testfixture.TestGroup.PERFORMANCE;
|
||||
import static org.springframework.core.testfixture.TestGroup.LONG_RUNNING;
|
||||
|
||||
/**
|
||||
* @author Rob Harrop
|
||||
@@ -77,7 +77,7 @@ public class RefreshableTargetSourceTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@EnabledForTestGroups(PERFORMANCE)
|
||||
@EnabledForTestGroups(LONG_RUNNING)
|
||||
public void testRefreshOverTime() throws Exception {
|
||||
CountingRefreshableTargetSource ts = new CountingRefreshableTargetSource(true);
|
||||
ts.setRefreshCheckDelay(100);
|
||||
|
||||
Reference in New Issue
Block a user