Repository: incubator-groovy Updated Branches: refs/heads/master 63056f9cd -> cb8caaf9b
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/98cbf97f Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/98cbf97f Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/98cbf97f Branch: refs/heads/master Commit: 98cbf97fd25c4cf9461c84001d1ead8acdfd410e Parents: 63056f9 Author: pascalschumacher <pascalschumac...@gmx.net> Authored: Wed Oct 21 22:37:56 2015 +0200 Committer: pascalschumacher <pascalschumac...@gmx.net> Committed: Wed Oct 21 22:37:56 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/98cbf97f/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)