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 19:25:53 UTC
[1/2] incubator-groovy git commit: remove checkout of byte length of
file in testFileIntro,
because it can fail depending on the system file encoding (e.g. fails on
https://builds.apache.org ubuntu slaves)
Repository: incubator-groovy
Updated Branches:
refs/heads/master 4a9b5627c -> 3f5713f8c
remove checkout of byte length of file in testFileIntro, because it can fail depending on the system file encoding (e.g. fails on https://builds.apache.org ubuntu slaves)
Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/08df6998
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/08df6998
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/08df6998
Branch: refs/heads/master
Commit: 08df6998c5b66436639764631e1d34f7ecc935ac
Parents: 4a9b562
Author: pascalschumacher <pa...@gmx.net>
Authored: Wed Oct 21 19:22:37 2015 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Wed Oct 21 19:22:37 2015 +0200
----------------------------------------------------------------------
src/spec/test/gdk/WorkingWithIOSpecTest.groovy | 7 -------
1 file changed, 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/08df6998/src/spec/test/gdk/WorkingWithIOSpecTest.groovy
----------------------------------------------------------------------
diff --git a/src/spec/test/gdk/WorkingWithIOSpecTest.groovy b/src/spec/test/gdk/WorkingWithIOSpecTest.groovy
index c094a8b..3d362ec 100644
--- a/src/spec/test/gdk/WorkingWithIOSpecTest.groovy
+++ b/src/spec/test/gdk/WorkingWithIOSpecTest.groovy
@@ -73,13 +73,6 @@ Le bruit de l'eau.''')
// tag::file_bytes[]
byte[] contents = file.bytes
// end::file_bytes[]
- def expectedLength = 64
- // e with acute accent won't be encoded on some systems -23 vs -61, -87
- if (System.getProperty('file.encoding').endsWith('1252')) {
- expectedLength = 63
- }
- assert contents.length == expectedLength
-
}
}
[2/2] incubator-groovy git commit: increase the allowed time for
class-reloading in testReloading() to improve test stability when load is
high
Posted by pa...@apache.org.
increase the allowed time for class-reloading in testReloading() to improve test stability when load is high
Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/3f5713f8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/3f5713f8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/3f5713f8
Branch: refs/heads/master
Commit: 3f5713f8cf3ffef44bf1d9be3a9410f35ae5ffe1
Parents: 08df699
Author: pascalschumacher <pa...@gmx.net>
Authored: Wed Oct 21 19:25:33 2015 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Wed Oct 21 19:25:33 2015 +0200
----------------------------------------------------------------------
src/test/groovy/lang/ClassReloadingTest.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/3f5713f8/src/test/groovy/lang/ClassReloadingTest.groovy
----------------------------------------------------------------------
diff --git a/src/test/groovy/lang/ClassReloadingTest.groovy b/src/test/groovy/lang/ClassReloadingTest.groovy
index 6614f9a..5e66121 100644
--- a/src/test/groovy/lang/ClassReloadingTest.groovy
+++ b/src/test/groovy/lang/ClassReloadingTest.groovy
@@ -52,7 +52,7 @@ class ClassReloadingTest extends GroovyTestCase {
"""
def success = file.setLastModified(System.currentTimeMillis())
assert success
- sleep 500
+ sleep 1500
// reload
groovyClass = cl.loadClass(className, true, false)