Merge branch 'SPR-9984' into 3.2.x
* SPR-9984: Add aop target source test to TestGroup.PERFORMANCE
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user