[jira] [Updated] (HADOOP-9330) Add custom JUnit4 test runner with configurable timeout

2016-06-28 Thread Allen Wittenauer (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-9330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allen Wittenauer updated HADOOP-9330:
-
Labels:   (was: BB2015-05-TBR)

> Add custom JUnit4 test runner with configurable timeout
> ---
>
> Key: HADOOP-9330
> URL: https://issues.apache.org/jira/browse/HADOOP-9330
> Project: Hadoop Common
>  Issue Type: Test
>  Components: test
>Affects Versions: 3.0.0-alpha1
>Reporter: Steve Loughran
> Fix For: 3.0.0-alpha1
>
> Attachments: HADOOP-9330-timeouts-1.patch
>
>
> HADOOP-9112 has added a requirement for all new test methods to declare a 
> timeout, so that jenkins/maven builds will have better information on a 
> timeout.
> Hard coding timeouts into tests is dangerous as it will generate spurious 
> failures on slower machines/networks and when debugging a test.
> I propose providing a custom JUnit4 test runner that test cases can declare 
> as their test runner; this can provide timeouts specified at run-time, rather 
> than in-source.



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-9330) Add custom JUnit4 test runner with configurable timeout

2016-06-28 Thread Allen Wittenauer (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-9330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allen Wittenauer updated HADOOP-9330:
-
   Resolution: Fixed
 Assignee: Steve Loughran
Fix Version/s: 3.0.0-alpha1
   Status: Resolved  (was: Patch Available)

+1 committed to trunk.

Thanks!

> Add custom JUnit4 test runner with configurable timeout
> ---
>
> Key: HADOOP-9330
> URL: https://issues.apache.org/jira/browse/HADOOP-9330
> Project: Hadoop Common
>  Issue Type: Test
>  Components: test
>Affects Versions: 3.0.0-alpha1
>Reporter: Steve Loughran
>Assignee: Steve Loughran
> Fix For: 3.0.0-alpha1
>
> Attachments: HADOOP-9330-timeouts-1.patch
>
>
> HADOOP-9112 has added a requirement for all new test methods to declare a 
> timeout, so that jenkins/maven builds will have better information on a 
> timeout.
> Hard coding timeouts into tests is dangerous as it will generate spurious 
> failures on slower machines/networks and when debugging a test.
> I propose providing a custom JUnit4 test runner that test cases can declare 
> as their test runner; this can provide timeouts specified at run-time, rather 
> than in-source.



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

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Updated] (HADOOP-9330) Add custom JUnit4 test runner with configurable timeout

2015-05-05 Thread Allen Wittenauer (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-9330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allen Wittenauer updated HADOOP-9330:
-
Labels: BB2015-05-TBR  (was: )

 Add custom JUnit4 test runner with configurable timeout
 ---

 Key: HADOOP-9330
 URL: https://issues.apache.org/jira/browse/HADOOP-9330
 Project: Hadoop Common
  Issue Type: Test
  Components: test
Affects Versions: 3.0.0
Reporter: Steve Loughran
  Labels: BB2015-05-TBR
 Attachments: HADOOP-9330-timeouts-1.patch


 HADOOP-9112 has added a requirement for all new test methods to declare a 
 timeout, so that jenkins/maven builds will have better information on a 
 timeout.
 Hard coding timeouts into tests is dangerous as it will generate spurious 
 failures on slower machines/networks and when debugging a test.
 I propose providing a custom JUnit4 test runner that test cases can declare 
 as their test runner; this can provide timeouts specified at run-time, rather 
 than in-source.



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


[jira] [Updated] (HADOOP-9330) Add custom JUnit4 test runner with configurable timeout

2015-04-25 Thread Allen Wittenauer (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-9330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allen Wittenauer updated HADOOP-9330:
-
Status: Patch Available  (was: Open)

 Add custom JUnit4 test runner with configurable timeout
 ---

 Key: HADOOP-9330
 URL: https://issues.apache.org/jira/browse/HADOOP-9330
 Project: Hadoop Common
  Issue Type: Test
  Components: test
Affects Versions: 3.0.0
Reporter: Steve Loughran
 Attachments: HADOOP-9330-timeouts-1.patch


 HADOOP-9112 has added a requirement for all new test methods to declare a 
 timeout, so that jenkins/maven builds will have better information on a 
 timeout.
 Hard coding timeouts into tests is dangerous as it will generate spurious 
 failures on slower machines/networks and when debugging a test.
 I propose providing a custom JUnit4 test runner that test cases can declare 
 as their test runner; this can provide timeouts specified at run-time, rather 
 than in-source.



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


[jira] [Updated] (HADOOP-9330) Add custom JUnit4 test runner with configurable timeout

2015-04-25 Thread Allen Wittenauer (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-9330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allen Wittenauer updated HADOOP-9330:
-
Status: Open  (was: Patch Available)

 Add custom JUnit4 test runner with configurable timeout
 ---

 Key: HADOOP-9330
 URL: https://issues.apache.org/jira/browse/HADOOP-9330
 Project: Hadoop Common
  Issue Type: Test
  Components: test
Affects Versions: 3.0.0
Reporter: Steve Loughran
 Attachments: HADOOP-9330-timeouts-1.patch


 HADOOP-9112 has added a requirement for all new test methods to declare a 
 timeout, so that jenkins/maven builds will have better information on a 
 timeout.
 Hard coding timeouts into tests is dangerous as it will generate spurious 
 failures on slower machines/networks and when debugging a test.
 I propose providing a custom JUnit4 test runner that test cases can declare 
 as their test runner; this can provide timeouts specified at run-time, rather 
 than in-source.



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


[jira] [Updated] (HADOOP-9330) Add custom JUnit4 test runner with configurable timeout

2013-03-11 Thread Steve Loughran (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-9330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Loughran updated HADOOP-9330:
---

Attachment: HADOOP-9330-timeouts-1.patch

first cut: test class (without any tests underneath to verify that it works)

 Add custom JUnit4 test runner with configurable timeout
 ---

 Key: HADOOP-9330
 URL: https://issues.apache.org/jira/browse/HADOOP-9330
 Project: Hadoop Common
  Issue Type: Test
  Components: test
Affects Versions: 3.0.0
Reporter: Steve Loughran
 Attachments: HADOOP-9330-timeouts-1.patch


 HADOOP-9112 has added a requirement for all new test methods to declare a 
 timeout, so that jenkins/maven builds will have better information on a 
 timeout.
 Hard coding timeouts into tests is dangerous as it will generate spurious 
 failures on slower machines/networks and when debugging a test.
 I propose providing a custom JUnit4 test runner that test cases can declare 
 as their test runner; this can provide timeouts specified at run-time, rather 
 than in-source.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HADOOP-9330) Add custom JUnit4 test runner with configurable timeout

2013-03-11 Thread Steve Loughran (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-9330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Loughran updated HADOOP-9330:
---

Status: Patch Available  (was: Open)

 Add custom JUnit4 test runner with configurable timeout
 ---

 Key: HADOOP-9330
 URL: https://issues.apache.org/jira/browse/HADOOP-9330
 Project: Hadoop Common
  Issue Type: Test
  Components: test
Affects Versions: 3.0.0
Reporter: Steve Loughran
 Attachments: HADOOP-9330-timeouts-1.patch


 HADOOP-9112 has added a requirement for all new test methods to declare a 
 timeout, so that jenkins/maven builds will have better information on a 
 timeout.
 Hard coding timeouts into tests is dangerous as it will generate spurious 
 failures on slower machines/networks and when debugging a test.
 I propose providing a custom JUnit4 test runner that test cases can declare 
 as their test runner; this can provide timeouts specified at run-time, rather 
 than in-source.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HADOOP-9330) Add custom JUnit4 test runner with configurable timeout

2013-02-23 Thread Steve Loughran (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-9330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Loughran updated HADOOP-9330:
---

Affects Version/s: 3.0.0

 Add custom JUnit4 test runner with configurable timeout
 ---

 Key: HADOOP-9330
 URL: https://issues.apache.org/jira/browse/HADOOP-9330
 Project: Hadoop Common
  Issue Type: Test
  Components: test
Affects Versions: 3.0.0
Reporter: Steve Loughran

 HADOOP-9112 has added a requirement for all new test methods to declare a 
 timeout, so that jenkins/maven builds will have better information on a 
 timeout.
 Hard coding timeouts into tests is dangerous as it will generate spurious 
 failures on slower machines/networks and when debugging a test.
 I propose providing a custom JUnit4 test runner that test cases can declare 
 as their test runner; this can provide timeouts specified at run-time, rather 
 than in-source.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira