increase the allowed time for class-reloading in testReloading() to improve 
test stability when load is high


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/2367c5cd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/2367c5cd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/2367c5cd

Branch: refs/heads/GROOVY_2_4_X
Commit: 2367c5cd8c85d2a807f7759ba160ee3d34cf219c
Parents: a8a5317
Author: pascalschumacher <pascalschumac...@gmx.net>
Authored: Wed Oct 21 19:25:33 2015 +0200
Committer: pascalschumacher <pascalschumac...@gmx.net>
Committed: Sat Oct 24 15:39:16 2015 +0200

----------------------------------------------------------------------
 src/test/groovy/lang/ClassReloadingTest.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/2367c5cd/src/test/groovy/lang/ClassReloadingTest.groovy
----------------------------------------------------------------------
diff --git a/src/test/groovy/lang/ClassReloadingTest.groovy 
b/src/test/groovy/lang/ClassReloadingTest.groovy
index 6614f9a..5e66121 100644
--- a/src/test/groovy/lang/ClassReloadingTest.groovy
+++ b/src/test/groovy/lang/ClassReloadingTest.groovy
@@ -52,7 +52,7 @@ class ClassReloadingTest extends GroovyTestCase {
             """
             def success = file.setLastModified(System.currentTimeMillis())
             assert success
-            sleep 500
+            sleep 1500
 
             // reload
             groovyClass = cl.loadClass(className, true, false)

Reply via email to