increase allowed time for class-reloading in testReloading() to ridiculous values (just to check if time has anything to do with the failures on https://builds.apache.org)
Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/32a9bf08 Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/32a9bf08 Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/32a9bf08 Branch: refs/heads/GROOVY_2_4_X Commit: 32a9bf089c995846b92c7e3aef222b0f8c0cbe47 Parents: 7ebf08c Author: pascalschumacher <pascalschumac...@gmx.net> Authored: Thu Oct 22 19:39:09 2015 +0200 Committer: pascalschumacher <pascalschumac...@gmx.net> Committed: Sat Oct 24 15:40:32 2015 +0200 ---------------------------------------------------------------------- src/test/groovy/lang/ClassReloadingTest.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/32a9bf08/src/test/groovy/lang/ClassReloadingTest.groovy ---------------------------------------------------------------------- diff --git a/src/test/groovy/lang/ClassReloadingTest.groovy b/src/test/groovy/lang/ClassReloadingTest.groovy index 7becc08..b447507 100644 --- a/src/test/groovy/lang/ClassReloadingTest.groovy +++ b/src/test/groovy/lang/ClassReloadingTest.groovy @@ -42,7 +42,7 @@ class ClassReloadingTest extends GroovyTestCase { def message = groovyClass.newInstance().greeting assert "hello" == message - sleep 3000 + sleep 10000 // change class file.write """ @@ -52,7 +52,7 @@ class ClassReloadingTest extends GroovyTestCase { """ def success = file.setLastModified(System.currentTimeMillis()) assert success - sleep 500 + sleep 10000 // reload groovyClass = cl.loadClass(className, true, false)