You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "Siegfried Goeschl (Jira)" <ji...@apache.org> on 2020/08/27 20:02:00 UTC

[jira] [Commented] (FREEMARKER-156) [freemarker-generator] The Maven plugin unit tests failed randomly

    [ https://issues.apache.org/jira/browse/FREEMARKER-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17186082#comment-17186082 ] 

Siegfried Goeschl commented on FREEMARKER-156:
----------------------------------------------

Failed again with the following spurious error on the JDK 8 build only (see https://travis-ci.org/github/apache/freemarker-generator/builds/721807709)

{code:java}
[ERROR] Tests run: 23, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.216 s <<< FAILURE! - in TestSuite
3180[ERROR] generate_cantCreateOutputFileParentDirTest(org.apache.freemarker.generator.maven.OutputGeneratorTest)  Time elapsed: 0.17 s  <<< FAILURE!
3181mockit.internal.MissingInvocation: 
3182Missing 1 invocation to:
3183java.io.File#canExecute()
3184   on mock instance: java.io.File@1eb5e61a
3185Caused by: mockit.internal.expectations.invocation.ExpectationError
{code}

This sucks ...
 

> [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 pocket 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)