You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2019/10/11 07:05:45 UTC

[groovy] branch master updated (7451327 -> 5bf6b7e)

This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git.


    from 7451327  Adjust period and sleep time in `testListenerEvent` test case (#1030)
     new 627869f  Adjust sleep period in `CodeGenerationASTTransformsTest`
     new 5bf6b7e  Disable github-actions CI for now

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/{gradle.yml => gradle.yml.disabled} | 0
 src/spec/test/CodeGenerationASTTransformsTest.groovy  | 6 ++++--
 2 files changed, 4 insertions(+), 2 deletions(-)
 rename .github/workflows/{gradle.yml => gradle.yml.disabled} (100%)


[groovy] 02/02: Disable github-actions CI for now

Posted by su...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 5bf6b7e77d15dc4da19e039dee6f997335b5197b
Author: Daniel.Sun <re...@hotmail.com>
AuthorDate: Fri Oct 11 15:01:33 2019 +0800

    Disable github-actions CI for now
    
    Many builds fail because Grape is not stable on windows, so disable the CI for now
---
 .github/workflows/{gradle.yml => gradle.yml.disabled} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml.disabled
similarity index 100%
rename from .github/workflows/gradle.yml
rename to .github/workflows/gradle.yml.disabled


[groovy] 01/02: Adjust sleep period in `CodeGenerationASTTransformsTest`

Posted by su...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 627869fd1e80dff34e66d228cf61675a055d83ce
Author: Daniel.Sun <re...@hotmail.com>
AuthorDate: Fri Oct 11 14:23:15 2019 +0800

    Adjust sleep period in `CodeGenerationASTTransformsTest`
---
 src/spec/test/CodeGenerationASTTransformsTest.groovy | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/spec/test/CodeGenerationASTTransformsTest.groovy b/src/spec/test/CodeGenerationASTTransformsTest.groovy
index d253bb2..b19775d 100644
--- a/src/spec/test/CodeGenerationASTTransformsTest.groovy
+++ b/src/spec/test/CodeGenerationASTTransformsTest.groovy
@@ -403,8 +403,10 @@ import groovy.transform.Immutable
 
 @Immutable
 class SlowHashCode {
+    static final SLEEP_PERIOD = 500
+
     int hashCode() {
-        sleep 100
+        sleep SLEEP_PERIOD
         127
     }
 }
@@ -420,7 +422,7 @@ p.hashCode()
 
 def start = System.currentTimeMillis()
 p.hashCode()
-assert System.currentTimeMillis() - start < 100
+assert System.currentTimeMillis() - start < SlowHashCode.SLEEP_PERIOD
 // end::equalshashcode_example_cache[]
 '''
     }