commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siegfried Goeschl (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (EXEC-86) Test failure with Java 8
Date Wed, 06 Jan 2016 01:27:39 GMT

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

Siegfried Goeschl edited comment on EXEC-86 at 1/6/16 1:26 AM:
---------------------------------------------------------------

* On Mac OS X 10.11.2 and JDK 1.8.0_66 the test work as expected but the patch is actually
not required since it does not hang - if I increase the stop timeout the process is terminated
cleanly and "ExecuteException" is never thrown
* On Ubuntu 15.10 and JDK 1.8.0_66 the join works nicely and therefore the expected "ExecuteException"
is never thrown
* The Linux kernel 2.6.18 was released 2007 und is used in RHEL 5.5 (2010-03-30)

So I think the patch fixes a problem for old Unix/Linux kernels and the test is actually broken
on newer systems (while the functionality is fine)


was (Author: sgoeschl):
* On Mac OS X 10.11.2 and JDK 1.8.0_66 the test work as expected but the patch is actually
not required since it does not hang - if I increase the stop timeout the process is terminated
cleanly and "ExecuteException" is never thrown
* On Ubuntu 15.10 and JDK 1.8.0_66 the join works nicely and therefore the expected "ExecuteException"
is never thrown
* The Linux kernel 2.6.18 was released 2007 und is used in RHEL 5.5 (2010-03-30)

So I think the patch fixes a problem for old Unix/Linux kernels and the test is actually broken
on newer systems

> Test failure with Java 8
> ------------------------
>
>                 Key: EXEC-86
>                 URL: https://issues.apache.org/jira/browse/EXEC-86
>             Project: Commons Exec
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: Emmanuel Bourg
>            Assignee: Siegfried Goeschl
>             Fix For: 1.4
>
>
> Exec57Test.testExec_57 fails on Linux with OpenJDK 8u5:
> {code}
> -------------------------------------------------------------------------------
> Test set: org.apache.commons.exec.issues.Exec57Test
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec <<<
FAILURE! - in org.apache.commons.exec.issues.Exec57Test
> testExec_57(org.apache.commons.exec.issues.Exec57Test)  Time elapsed: 0.001 sec  <<<
FAILURE!
> java.lang.AssertionError: Expecting an ExecuteException
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.apache.commons.exec.issues.Exec57Test.testExec_57(Exec57Test.java:82)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message