You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2015/10/21 22:39:25 UTC

[1/2] incubator-groovy git commit: another try to get testReloading to work on builds.apache.org

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 <pa...@gmx.net>
Authored: Wed Oct 21 22:37:56 2015 +0200
Committer: pascalschumacher <pa...@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)


[2/2] incubator-groovy git commit: testThreadInterrupt sometimes fails on builds.apache.org so give it some more time

Posted by pa...@apache.org.
testThreadInterrupt sometimes fails on builds.apache.org so give it some more time


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

Branch: refs/heads/master
Commit: cb8caaf9bcce468a3af10fbf6d736a074414bcec
Parents: 98cbf97
Author: pascalschumacher <pa...@gmx.net>
Authored: Wed Oct 21 22:38:52 2015 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Wed Oct 21 22:38:52 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/cb8caaf9/src/spec/test/SaferScriptingASTTransformsTest.groovy
----------------------------------------------------------------------
diff --git a/src/spec/test/SaferScriptingASTTransformsTest.groovy b/src/spec/test/SaferScriptingASTTransformsTest.groovy
index 2b8a82d..55ff72b 100644
--- a/src/spec/test/SaferScriptingASTTransformsTest.groovy
+++ b/src/spec/test/SaferScriptingASTTransformsTest.groovy
@@ -53,7 +53,7 @@ while (true) {
 def t = Thread.start {
     shell.evaluate(userCode)
 }
-t.join(500) // give at most 500ms for the script to complete
+t.join(1000) // give at most 1000ms for the script to complete
 if (t.alive) {
     t.interrupt()
 }