Add aop target source test to TestGroup.PERFORMANCE
Issue: SPR-9984
This commit is contained in:
parent
c005757775
commit
90d1886cbd
|
@ -19,6 +19,8 @@ package org.springframework.aop.target.dynamic;
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
import org.springframework.build.junit.Assume;
|
||||||
|
import org.springframework.build.junit.TestGroup;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Rob Harrop
|
* @author Rob Harrop
|
||||||
|
@ -75,6 +77,8 @@ public final class RefreshableTargetSourceTests {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testRefreshOverTime() throws Exception {
|
public void testRefreshOverTime() throws Exception {
|
||||||
|
Assume.group(TestGroup.PERFORMANCE);
|
||||||
|
|
||||||
CountingRefreshableTargetSource ts = new CountingRefreshableTargetSource(true);
|
CountingRefreshableTargetSource ts = new CountingRefreshableTargetSource(true);
|
||||||
ts.setRefreshCheckDelay(100);
|
ts.setRefreshCheckDelay(100);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue