increased delay for test

This commit is contained in:
Mark Fisher
2010-08-31 20:26:09 +00:00
parent 899808e4c9
commit 1587ab461d

View File

@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.integration.groovy.config;
import static org.junit.Assert.assertEquals;
@@ -24,7 +25,6 @@ import org.springframework.core.io.ByteArrayResource;
/**
* @author Dave Syer
*
*/
public class RefreshableResourceScriptSourceTests {
@@ -49,7 +49,7 @@ public class RefreshableResourceScriptSourceTests {
}
}, 0);
assertEquals(false, source.isModified());
Thread.sleep(20L);
Thread.sleep(100L);
assertEquals(true, source.isModified());
assertEquals("foo", source.getScriptAsString());
}