Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.4
-
None
-
Windows 7, Sun/Oracle JDK 1.6.0_21
Description
I have just downloaded the Groovy 1.7.4 source and tried to compile on Windows 7 with Sun/Oracle JDK 1.6.0_21. The build failed while performing the -testAll phase:
[junit] Running UberTestCaseBugs
[junit] Tests run: 400, Failures: 0, Errors: 0, Time elapsed: 4.977 sec
[junit] Running UberTestCaseGroovySourceCodehausPackages
[junit] Tests run: 429, Failures: 0, Errors: 0, Time elapsed: 54.605 sec
[junit] Running UberTestCaseGroovySourceCodehausPackages_VM6
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.074 sec
[junit] Running UberTestCaseGroovySourceRootPackage
[junit] Tests run: 1000, Failures: 0, Errors: 0, Time elapsed: 27.002 sec
[junit] Running UberTestCaseGroovySourceSubPackages
[junit] Tests run: 1187, Failures: 0, Errors: 1, Time elapsed: 66.116 sec
[junit] Test UberTestCaseGroovySourceSubPackages FAILED
From groovy-1.7.4/target/reports/junit/all-tests.html
Class: UberTestCaseGroovySourceSubPackages
Name: testReloadingInterval
Status: Error
Type:
assert gse.run(scriptName, binding) == 3 | | | | | | 23 | | false | | groovy.lang.Binding@1769afe | gse6921152879800224663.groovy groovy.util.GroovyScriptEngine@1b9caa8
Assertion failed:
assert gse.run(scriptName, binding) == 3
23 | false | ||
groovy.lang.Binding@1769afe | |||
gse6921152879800224663.groovy groovy.util.GroovyScriptEngine@1b9caa8 |
at org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:378)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:662)
at groovy.util.GroovyScriptEngineTest.testReloadingInterval(GroovyScriptEngineTest.groovy:246)
I had a quick look at groovy.util.GroovyScriptEngineTest.testReloadingInterval(GroovyScriptEngineTest.groovy:246). Looks as if the test that is failing was introduced to test previous issues (GROOVY-2811 and GROOVY-4286) - maybe still an issue?
Kind regards,
Mike