groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject incubator-groovy git commit: 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)
Date Thu, 22 Oct 2015 17:39:34 GMT
Repository: incubator-groovy
Updated Branches:
  refs/heads/master 643815aa1 -> ce537f7ad


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/ce537f7a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/ce537f7a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/ce537f7a

Branch: refs/heads/master
Commit: ce537f7ade9e04d2911710cf2641d2231a328d30
Parents: 643815a
Author: pascalschumacher <pascalschumacher@gmx.net>
Authored: Thu Oct 22 19:39:09 2015 +0200
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Thu Oct 22 19:39:09 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/ce537f7a/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)


Mime
View raw message