Add aop target source test to TestGroup.PERFORMANCE

Issue: SPR-9984
This commit is contained in:
Chris Beams
2012-12-29 00:14:48 +01:00
parent c005757775
commit 90d1886cbd

View File

@@ -19,6 +19,8 @@ package org.springframework.aop.target.dynamic;
import static org.junit.Assert.*;
import org.junit.Test;
import org.springframework.build.junit.Assume;
import org.springframework.build.junit.TestGroup;
/**
* @author Rob Harrop
@@ -75,6 +77,8 @@ public final class RefreshableTargetSourceTests {
@Test
public void testRefreshOverTime() throws Exception {
Assume.group(TestGroup.PERFORMANCE);
CountingRefreshableTargetSource ts = new CountingRefreshableTargetSource(true);
ts.setRefreshCheckDelay(100);