[jira] [Commented] (EXEC-86) Test failure with Java 8 and EXEC-57 unit test

2016-01-08 Thread Siegfried Goeschl (JIRA)

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

Siegfried Goeschl commented on EXEC-86:
---

I need to revert my statement - it does not work on my Ubuntu from the command 
line either - damn it

> Test failure with Java 8 and EXEC-57 unit test
> --
>
> 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)


[jira] [Commented] (EXEC-86) Test failure with Java 8

2016-01-05 Thread Siegfried Goeschl (JIRA)

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

Siegfried Goeschl commented on EXEC-86:
---

* 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)