another try to get testReloading to work on 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/237694db Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/237694db Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/237694db Branch: refs/heads/GROOVY_2_4_X Commit: 237694db835d2af4409a1cd1db128aa73a156d2f Parents: 734bf3d Author: pascalschumacher <pascalschumac...@gmx.net> Authored: Wed Oct 21 22:37:56 2015 +0200 Committer: pascalschumacher <pascalschumac...@gmx.net> Committed: Sat Oct 24 15:39:16 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/237694db/src/test/groovy/lang/ClassReloadingTest.groovy ---------------------------------------------------------------------- diff --git a/src/test/groovy/lang/ClassReloadingTest.groovy b/src/test/groovy/lang/ClassReloadingTest.groovy index 344f98b..7becc08 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 1500 + sleep 3000 // change class file.write """ @@ -52,7 +52,7 @@ class ClassReloadingTest extends GroovyTestCase { """ def success = file.setLastModified(System.currentTimeMillis()) assert success - sleep 3000 + sleep 500 // reload groovyClass = cl.loadClass(className, true, false)