[
https://issues.apache.org/jira/browse/FREEMARKER-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17270350#comment-17270350
]
Siegfried Goeschl commented on FREEMARKER-156:
----------------------------------------------
Failing more often with this error message
{noformat}
[ERROR] Tests run: 23, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.705
s <<< FAILURE! - in TestSuite
[ERROR]
visitFile_badExtensionTest(org.apache.freemarker.generator.maven.GeneratingFileVisitorTest)
Time elapsed: 0.157 s <<< FAILURE!
mockit.internal.MissingInvocation:
Missing 1 invocation to:
java.io.File#canExecute()
on mock instance: java.io.File@6e4fe69b
Caused by: mockit.internal.expectations.invocation.ExpectationError
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] GeneratingFileVisitorTest.visitFile_badExtensionTest ยป
MissingInvocation Missi...
[INFO]
[ERROR] Tests run: 23, Failures: 1, Errors: 0, Skipped: 0
{noformat}
> [freemarker-generator] The Maven plugin unit tests failed randomly
> ------------------------------------------------------------------
>
> Key: FREEMARKER-156
> URL: https://issues.apache.org/jira/browse/FREEMARKER-156
> Project: Apache Freemarker
> Issue Type: Task
> Reporter: Siegfried Goeschl
> Priority: Major
>
> * For unknown reasons the unit test fail since the mocked execution misses an
> invocation of "File#canExecute".
> * In addition the tests dump ugly stack traces :(
--
This message was sent by Atlassian Jira
(v8.3.4#803005)