[jira] [Commented] (HBASE-7211) Improve hbase ref guide for the testing part.

2014-10-14 Thread Misty Stanley-Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-7211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14171510#comment-14171510
 ] 

Misty Stanley-Jones commented on HBASE-7211:


OK, 4995 is closed so I will close this JIRA too.

 Improve hbase ref guide for the testing part.
 -

 Key: HBASE-7211
 URL: https://issues.apache.org/jira/browse/HBASE-7211
 Project: HBase
  Issue Type: Bug
  Components: documentation
Affects Versions: 0.95.2
Reporter: Nicolas Liochon
Assignee: Nicolas Liochon
Priority: Minor
 Fix For: 2.0.0, 0.99.2

 Attachments: hbase-7211-partial.patch


 Here is some stuff I saw. I will propose a fix in a week or so, please add 
 the comment or issues you have in mind.
 ??15.6.1. Apache HBase Modules??
 = We should be able to use categories in all modules. The default should be 
 small; but any test manipulating the time needs to be in a specific jvm 
 (hence medium), so it's not always related to minicluster.
 ??15.6.3.6. hbasetests.sh??
 = We can remove this chapter, and the script
  The script is not totally useless, but I think nobody actually uses it.
 = Add a chapter on flakiness.
 Some tests are, unfortunately, flaky. While there number decreases, we still 
 have some. Rules are:
 - don't write flaky tests! :-)
 - small tests cannot be flaky, as it blocks other test execution. Corollary: 
 if you have an issue with a small test, it's either your environment either a 
 severe issue.
 - rerun the test a few time to validate, check the ports and file descriptors 
 used.
 ??mvn test -P localTests -Dtest=MyTest??
 = We could actually activate the localTests profile whenever -Dtest is used. 
 If we do that, we can remove the reference from localTests in the doc.
 ??mvn test -P runSmallTests?? ??mvn test -P runMediumTests??
 = I'm not sure it's actually used. We could remove them from the pom.xml 
 (and the doc).
 ??The HBase build uses a patched version of the maven surefire plugin?? 
 = Hopefully, we will be able to remove this soon :-)
  ??Integration tests are described TODO: POINTER_TO_INTEGRATION_TEST_SECTION??
  = Should be documented



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


[jira] [Commented] (HBASE-7211) Improve hbase ref guide for the testing part.

2013-09-06 Thread Nicolas Liochon (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-7211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13760640#comment-13760640
 ] 

Nicolas Liochon commented on HBASE-7211:


Actually, I'm waiting for 4955 to finish this one.



 Improve hbase ref guide for the testing part.
 -

 Key: HBASE-7211
 URL: https://issues.apache.org/jira/browse/HBASE-7211
 Project: HBase
  Issue Type: Bug
  Components: documentation
Affects Versions: 0.95.2
Reporter: Nicolas Liochon
Assignee: Nicolas Liochon
Priority: Minor
 Attachments: hbase-7211-partial.patch


 Here is some stuff I saw. I will propose a fix in a week or so, please add 
 the comment or issues you have in mind.
 ??15.6.1. Apache HBase Modules??
 = We should be able to use categories in all modules. The default should be 
 small; but any test manipulating the time needs to be in a specific jvm 
 (hence medium), so it's not always related to minicluster.
 ??15.6.3.6. hbasetests.sh??
 = We can remove this chapter, and the script
  The script is not totally useless, but I think nobody actually uses it.
 = Add a chapter on flakiness.
 Some tests are, unfortunately, flaky. While there number decreases, we still 
 have some. Rules are:
 - don't write flaky tests! :-)
 - small tests cannot be flaky, as it blocks other test execution. Corollary: 
 if you have an issue with a small test, it's either your environment either a 
 severe issue.
 - rerun the test a few time to validate, check the ports and file descriptors 
 used.
 ??mvn test -P localTests -Dtest=MyTest??
 = We could actually activate the localTests profile whenever -Dtest is used. 
 If we do that, we can remove the reference from localTests in the doc.
 ??mvn test -P runSmallTests?? ??mvn test -P runMediumTests??
 = I'm not sure it's actually used. We could remove them from the pom.xml 
 (and the doc).
 ??The HBase build uses a patched version of the maven surefire plugin?? 
 = Hopefully, we will be able to remove this soon :-)
  ??Integration tests are described TODO: POINTER_TO_INTEGRATION_TEST_SECTION??
  = Should be documented

--
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] [Commented] (HBASE-7211) Improve hbase ref guide for the testing part.

2013-09-06 Thread Nick Dimiduk (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-7211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13760631#comment-13760631
 ] 

Nick Dimiduk commented on HBASE-7211:
-

It looks like this issue was resolved but never closed. Ping [~nkeywal], 
[~jeffreyz].

 Improve hbase ref guide for the testing part.
 -

 Key: HBASE-7211
 URL: https://issues.apache.org/jira/browse/HBASE-7211
 Project: HBase
  Issue Type: Bug
  Components: documentation
Affects Versions: 0.95.2
Reporter: Nicolas Liochon
Assignee: Nicolas Liochon
Priority: Minor
 Attachments: hbase-7211-partial.patch


 Here is some stuff I saw. I will propose a fix in a week or so, please add 
 the comment or issues you have in mind.
 ??15.6.1. Apache HBase Modules??
 = We should be able to use categories in all modules. The default should be 
 small; but any test manipulating the time needs to be in a specific jvm 
 (hence medium), so it's not always related to minicluster.
 ??15.6.3.6. hbasetests.sh??
 = We can remove this chapter, and the script
  The script is not totally useless, but I think nobody actually uses it.
 = Add a chapter on flakiness.
 Some tests are, unfortunately, flaky. While there number decreases, we still 
 have some. Rules are:
 - don't write flaky tests! :-)
 - small tests cannot be flaky, as it blocks other test execution. Corollary: 
 if you have an issue with a small test, it's either your environment either a 
 severe issue.
 - rerun the test a few time to validate, check the ports and file descriptors 
 used.
 ??mvn test -P localTests -Dtest=MyTest??
 = We could actually activate the localTests profile whenever -Dtest is used. 
 If we do that, we can remove the reference from localTests in the doc.
 ??mvn test -P runSmallTests?? ??mvn test -P runMediumTests??
 = I'm not sure it's actually used. We could remove them from the pom.xml 
 (and the doc).
 ??The HBase build uses a patched version of the maven surefire plugin?? 
 = Hopefully, we will be able to remove this soon :-)
  ??Integration tests are described TODO: POINTER_TO_INTEGRATION_TEST_SECTION??
  = Should be documented

--
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] [Commented] (HBASE-7211) Improve hbase ref guide for the testing part.

2012-12-13 Thread nkeywal (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-7211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13531017#comment-13531017
 ] 

nkeywal commented on HBASE-7211:


Committed. Thanks, Jeffrey!
I removed as well a reference to localTests in zookeeper.xml.

Our last issue (SUREFIRE-800) is now tagged as fixed in the next (2.13) 
surefire release, so I'm going to be optimistic and wait for it before updating 
the remaining part...

 Improve hbase ref guide for the testing part.
 -

 Key: HBASE-7211
 URL: https://issues.apache.org/jira/browse/HBASE-7211
 Project: HBase
  Issue Type: Bug
  Components: documentation
Affects Versions: 0.96.0
Reporter: nkeywal
Assignee: nkeywal
Priority: Minor
 Attachments: hbase-7211-partial.patch


 Here is some stuff I saw. I will propose a fix in a week or so, please add 
 the comment or issues you have in mind.
 ??15.6.1. Apache HBase Modules??
 = We should be able to use categories in all modules. The default should be 
 small; but any test manipulating the time needs to be in a specific jvm 
 (hence medium), so it's not always related to minicluster.
 ??15.6.3.6. hbasetests.sh??
 = We can remove this chapter, and the script
  The script is not totally useless, but I think nobody actually uses it.
 = Add a chapter on flakiness.
 Some tests are, unfortunately, flaky. While there number decreases, we still 
 have some. Rules are:
 - don't write flaky tests! :-)
 - small tests cannot be flaky, as it blocks other test execution. Corollary: 
 if you have an issue with a small test, it's either your environment either a 
 severe issue.
 - rerun the test a few time to validate, check the ports and file descriptors 
 used.
 ??mvn test -P localTests -Dtest=MyTest??
 = We could actually activate the localTests profile whenever -Dtest is used. 
 If we do that, we can remove the reference from localTests in the doc.
 ??mvn test -P runSmallTests?? ??mvn test -P runMediumTests??
 = I'm not sure it's actually used. We could remove them from the pom.xml 
 (and the doc).
 ??The HBase build uses a patched version of the maven surefire plugin?? 
 = Hopefully, we will be able to remove this soon :-)
  ??Integration tests are described TODO: POINTER_TO_INTEGRATION_TEST_SECTION??
  = Should be documented

--
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] [Commented] (HBASE-7211) Improve hbase ref guide for the testing part.

2012-12-13 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-7211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13531107#comment-13531107
 ] 

Hudson commented on HBASE-7211:
---

Integrated in HBase-TRUNK #3617 (See 
[https://builds.apache.org/job/HBase-TRUNK/3617/])
HBASE-7211 Improve hbase ref guide for the testing part. - 1st part 
(Jeffrey Zhong) (Revision 1421295)

 Result = FAILURE
nkeywal : 
Files : 
* /hbase/trunk/pom.xml
* /hbase/trunk/src/docbkx/developer.xml
* /hbase/trunk/src/docbkx/zookeeper.xml


 Improve hbase ref guide for the testing part.
 -

 Key: HBASE-7211
 URL: https://issues.apache.org/jira/browse/HBASE-7211
 Project: HBase
  Issue Type: Bug
  Components: documentation
Affects Versions: 0.96.0
Reporter: nkeywal
Assignee: nkeywal
Priority: Minor
 Attachments: hbase-7211-partial.patch


 Here is some stuff I saw. I will propose a fix in a week or so, please add 
 the comment or issues you have in mind.
 ??15.6.1. Apache HBase Modules??
 = We should be able to use categories in all modules. The default should be 
 small; but any test manipulating the time needs to be in a specific jvm 
 (hence medium), so it's not always related to minicluster.
 ??15.6.3.6. hbasetests.sh??
 = We can remove this chapter, and the script
  The script is not totally useless, but I think nobody actually uses it.
 = Add a chapter on flakiness.
 Some tests are, unfortunately, flaky. While there number decreases, we still 
 have some. Rules are:
 - don't write flaky tests! :-)
 - small tests cannot be flaky, as it blocks other test execution. Corollary: 
 if you have an issue with a small test, it's either your environment either a 
 severe issue.
 - rerun the test a few time to validate, check the ports and file descriptors 
 used.
 ??mvn test -P localTests -Dtest=MyTest??
 = We could actually activate the localTests profile whenever -Dtest is used. 
 If we do that, we can remove the reference from localTests in the doc.
 ??mvn test -P runSmallTests?? ??mvn test -P runMediumTests??
 = I'm not sure it's actually used. We could remove them from the pom.xml 
 (and the doc).
 ??The HBase build uses a patched version of the maven surefire plugin?? 
 = Hopefully, we will be able to remove this soon :-)
  ??Integration tests are described TODO: POINTER_TO_INTEGRATION_TEST_SECTION??
  = Should be documented

--
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] [Commented] (HBASE-7211) Improve hbase ref guide for the testing part.

2012-12-13 Thread Jeffrey Zhong (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-7211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13531228#comment-13531228
 ] 

Jeffrey Zhong commented on HBASE-7211:
--

Thanks Nicolas!






 Improve hbase ref guide for the testing part.
 -

 Key: HBASE-7211
 URL: https://issues.apache.org/jira/browse/HBASE-7211
 Project: HBase
  Issue Type: Bug
  Components: documentation
Affects Versions: 0.96.0
Reporter: nkeywal
Assignee: nkeywal
Priority: Minor
 Attachments: hbase-7211-partial.patch


 Here is some stuff I saw. I will propose a fix in a week or so, please add 
 the comment or issues you have in mind.
 ??15.6.1. Apache HBase Modules??
 = We should be able to use categories in all modules. The default should be 
 small; but any test manipulating the time needs to be in a specific jvm 
 (hence medium), so it's not always related to minicluster.
 ??15.6.3.6. hbasetests.sh??
 = We can remove this chapter, and the script
  The script is not totally useless, but I think nobody actually uses it.
 = Add a chapter on flakiness.
 Some tests are, unfortunately, flaky. While there number decreases, we still 
 have some. Rules are:
 - don't write flaky tests! :-)
 - small tests cannot be flaky, as it blocks other test execution. Corollary: 
 if you have an issue with a small test, it's either your environment either a 
 severe issue.
 - rerun the test a few time to validate, check the ports and file descriptors 
 used.
 ??mvn test -P localTests -Dtest=MyTest??
 = We could actually activate the localTests profile whenever -Dtest is used. 
 If we do that, we can remove the reference from localTests in the doc.
 ??mvn test -P runSmallTests?? ??mvn test -P runMediumTests??
 = I'm not sure it's actually used. We could remove them from the pom.xml 
 (and the doc).
 ??The HBase build uses a patched version of the maven surefire plugin?? 
 = Hopefully, we will be able to remove this soon :-)
  ??Integration tests are described TODO: POINTER_TO_INTEGRATION_TEST_SECTION??
  = Should be documented

--
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] [Commented] (HBASE-7211) Improve hbase ref guide for the testing part.

2012-12-13 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-7211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13531666#comment-13531666
 ] 

Hudson commented on HBASE-7211:
---

Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #295 (See 
[https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/295/])
HBASE-7211 Improve hbase ref guide for the testing part. - 1st part 
(Jeffrey Zhong) (Revision 1421295)

 Result = FAILURE
nkeywal : 
Files : 
* /hbase/trunk/pom.xml
* /hbase/trunk/src/docbkx/developer.xml
* /hbase/trunk/src/docbkx/zookeeper.xml


 Improve hbase ref guide for the testing part.
 -

 Key: HBASE-7211
 URL: https://issues.apache.org/jira/browse/HBASE-7211
 Project: HBase
  Issue Type: Bug
  Components: documentation
Affects Versions: 0.96.0
Reporter: nkeywal
Assignee: nkeywal
Priority: Minor
 Attachments: hbase-7211-partial.patch


 Here is some stuff I saw. I will propose a fix in a week or so, please add 
 the comment or issues you have in mind.
 ??15.6.1. Apache HBase Modules??
 = We should be able to use categories in all modules. The default should be 
 small; but any test manipulating the time needs to be in a specific jvm 
 (hence medium), so it's not always related to minicluster.
 ??15.6.3.6. hbasetests.sh??
 = We can remove this chapter, and the script
  The script is not totally useless, but I think nobody actually uses it.
 = Add a chapter on flakiness.
 Some tests are, unfortunately, flaky. While there number decreases, we still 
 have some. Rules are:
 - don't write flaky tests! :-)
 - small tests cannot be flaky, as it blocks other test execution. Corollary: 
 if you have an issue with a small test, it's either your environment either a 
 severe issue.
 - rerun the test a few time to validate, check the ports and file descriptors 
 used.
 ??mvn test -P localTests -Dtest=MyTest??
 = We could actually activate the localTests profile whenever -Dtest is used. 
 If we do that, we can remove the reference from localTests in the doc.
 ??mvn test -P runSmallTests?? ??mvn test -P runMediumTests??
 = I'm not sure it's actually used. We could remove them from the pom.xml 
 (and the doc).
 ??The HBase build uses a patched version of the maven surefire plugin?? 
 = Hopefully, we will be able to remove this soon :-)
  ??Integration tests are described TODO: POINTER_TO_INTEGRATION_TEST_SECTION??
  = Should be documented

--
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] [Commented] (HBASE-7211) Improve hbase ref guide for the testing part.

2012-12-12 Thread nkeywal (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-7211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13529986#comment-13529986
 ] 

nkeywal commented on HBASE-7211:


I will commit Jeffrey's patch tomorrow if there is no objection.

 Improve hbase ref guide for the testing part.
 -

 Key: HBASE-7211
 URL: https://issues.apache.org/jira/browse/HBASE-7211
 Project: HBase
  Issue Type: Bug
  Components: documentation
Affects Versions: 0.96.0
Reporter: nkeywal
Assignee: nkeywal
Priority: Minor
 Attachments: hbase-7211-partial.patch


 Here is some stuff I saw. I will propose a fix in a week or so, please add 
 the comment or issues you have in mind.
 ??15.6.1. Apache HBase Modules??
 = We should be able to use categories in all modules. The default should be 
 small; but any test manipulating the time needs to be in a specific jvm 
 (hence medium), so it's not always related to minicluster.
 ??15.6.3.6. hbasetests.sh??
 = We can remove this chapter, and the script
  The script is not totally useless, but I think nobody actually uses it.
 = Add a chapter on flakiness.
 Some tests are, unfortunately, flaky. While there number decreases, we still 
 have some. Rules are:
 - don't write flaky tests! :-)
 - small tests cannot be flaky, as it blocks other test execution. Corollary: 
 if you have an issue with a small test, it's either your environment either a 
 severe issue.
 - rerun the test a few time to validate, check the ports and file descriptors 
 used.
 ??mvn test -P localTests -Dtest=MyTest??
 = We could actually activate the localTests profile whenever -Dtest is used. 
 If we do that, we can remove the reference from localTests in the doc.
 ??mvn test -P runSmallTests?? ??mvn test -P runMediumTests??
 = I'm not sure it's actually used. We could remove them from the pom.xml 
 (and the doc).
 ??The HBase build uses a patched version of the maven surefire plugin?? 
 = Hopefully, we will be able to remove this soon :-)
  ??Integration tests are described TODO: POINTER_TO_INTEGRATION_TEST_SECTION??
  = Should be documented

--
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] [Commented] (HBASE-7211) Improve hbase ref guide for the testing part.

2012-12-11 Thread Jeffrey Zhong (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-7211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13529285#comment-13529285
 ] 

Jeffrey Zhong commented on HBASE-7211:
--

I happened to work on the issue a little bit and attached my patch to the 
issue. Inside the patch, there are following changes:

bq. = We could actually activate the localTests profile whenever -Dtest is 
used. If we do that, we can remove the reference from localTests in the doc.

Trigger localTest profile whenever -Dtest is specified so we can run 
individual tests like mvm test –Dtest=MyTest without specifying localTests 
profile. In addition, adding a note to let users pay attention on the number of 
Tests run because no error is reported when non-existent test cases are 
specified.

bq. = Integration tests are described TODO: POINTER_TO_INTEGRATION_TEST_SECTION

Instantiate TODO: POINTER_TO_INTEGRATION_TEST_SECTION with the right link

Change class name HBaseIntegrationTestingUtility to IntegrationTestingUtility 
because HBaseIntegrationTestingUtility doesn't exist at all.

 Improve hbase ref guide for the testing part.
 -

 Key: HBASE-7211
 URL: https://issues.apache.org/jira/browse/HBASE-7211
 Project: HBase
  Issue Type: Bug
  Components: documentation
Affects Versions: 0.96.0
Reporter: nkeywal
Assignee: nkeywal
Priority: Minor
 Attachments: hbase-7211-partial.patch


 Here is some stuff I saw. I will propose a fix in a week or so, please add 
 the comment or issues you have in mind.
 ??15.6.1. Apache HBase Modules??
 = We should be able to use categories in all modules. The default should be 
 small; but any test manipulating the time needs to be in a specific jvm 
 (hence medium), so it's not always related to minicluster.
 ??15.6.3.6. hbasetests.sh??
 = We can remove this chapter, and the script
  The script is not totally useless, but I think nobody actually uses it.
 = Add a chapter on flakiness.
 Some tests are, unfortunately, flaky. While there number decreases, we still 
 have some. Rules are:
 - don't write flaky tests! :-)
 - small tests cannot be flaky, as it blocks other test execution. Corollary: 
 if you have an issue with a small test, it's either your environment either a 
 severe issue.
 - rerun the test a few time to validate, check the ports and file descriptors 
 used.
 ??mvn test -P localTests -Dtest=MyTest??
 = We could actually activate the localTests profile whenever -Dtest is used. 
 If we do that, we can remove the reference from localTests in the doc.
 ??mvn test -P runSmallTests?? ??mvn test -P runMediumTests??
 = I'm not sure it's actually used. We could remove them from the pom.xml 
 (and the doc).
 ??The HBase build uses a patched version of the maven surefire plugin?? 
 = Hopefully, we will be able to remove this soon :-)
  ??Integration tests are described TODO: POINTER_TO_INTEGRATION_TEST_SECTION??
  = Should be documented

--
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] [Commented] (HBASE-7211) Improve hbase ref guide for the testing part.

2012-11-26 Thread stack (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-7211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504186#comment-13504186
 ] 

stack commented on HBASE-7211:
--

These look like great changes N.

On IT stuff, thats HBASE-6302

 Improve hbase ref guide for the testing part.
 -

 Key: HBASE-7211
 URL: https://issues.apache.org/jira/browse/HBASE-7211
 Project: HBase
  Issue Type: Bug
  Components: documentation
Affects Versions: 0.96.0
Reporter: nkeywal
Assignee: nkeywal
Priority: Minor

 Here is some stuff I saw. I will propose a fix in a week or so, please add 
 the comment or issues you have in mind.
 ??15.6.1. Apache HBase Modules??
 = We should be able to use categories in all modules. The default should be 
 small; but any test manipulating the time needs to be in a specific jvm 
 (hence medium), so it's not always related to minicluster.
 ??15.6.3.6. hbasetests.sh??
 = We can remove this chapter, and the script
  The script is not totally useless, but I think nobody actually uses it.
 = Add a chapter on flakiness.
 Some tests are, unfortunately, flaky. While there number decreases, we still 
 have some. Rules are:
 - don't write flaky tests! :-)
 - small tests cannot be flaky, as it blocks other test execution. Corollary: 
 if you have an issue with a small test, it's either your environment either a 
 severe issue.
 - rerun the test a few time to validate, check the ports and file descriptors 
 used.
 ??mvn test -P localTests -Dtest=MyTest??
 = We could actually activate the localTests profile whenever -Dtest is used. 
 If we do that, we can remove the reference from localTests in the doc.
 ??mvn test -P runSmallTests?? ??mvn test -P runMediumTests??
 = I'm not sure it's actually used. We could remove them from the pom.xml 
 (and the doc).
 ??The HBase build uses a patched version of the maven surefire plugin?? 
 = Hopefully, we will be able to remove this soon :-)
  ??Integration tests are described TODO: POINTER_TO_INTEGRATION_TEST_SECTION??
  = Should be documented

--
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] [Commented] (HBASE-7211) Improve hbase ref guide for the testing part.

2012-11-26 Thread Enis Soztutar (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-7211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13504221#comment-13504221
 ] 

Enis Soztutar commented on HBASE-7211:
--

bq. = We should be able to use categories in all modules. The default should 
be small; but any test manipulating the time needs to be in a specific jvm 
(hence medium), so it's not always related to minicluster.
Right now, the only exception is hadoop-compat modules. 
See Elliot's comment: 
https://issues.apache.org/jira/browse/HBASE-7109?focusedCommentId=13503984page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13503984
bq. = Add a chapter on flakiness.
+1.
bq. = We could actually activate the localTests profile whenever -Dtest is 
used. If we do that, we can remove the reference from localTests in the doc.
+1. -PlocalTets is not intuitive, and I was burned a couple of times by this. 
By having active in profile, this should be easy to do. 
bq. = Integration tests are described TODO: POINTER_TO_INTEGRATION_TEST_SECTION
We can just commit HBASE-6302. 


 Improve hbase ref guide for the testing part.
 -

 Key: HBASE-7211
 URL: https://issues.apache.org/jira/browse/HBASE-7211
 Project: HBase
  Issue Type: Bug
  Components: documentation
Affects Versions: 0.96.0
Reporter: nkeywal
Assignee: nkeywal
Priority: Minor

 Here is some stuff I saw. I will propose a fix in a week or so, please add 
 the comment or issues you have in mind.
 ??15.6.1. Apache HBase Modules??
 = We should be able to use categories in all modules. The default should be 
 small; but any test manipulating the time needs to be in a specific jvm 
 (hence medium), so it's not always related to minicluster.
 ??15.6.3.6. hbasetests.sh??
 = We can remove this chapter, and the script
  The script is not totally useless, but I think nobody actually uses it.
 = Add a chapter on flakiness.
 Some tests are, unfortunately, flaky. While there number decreases, we still 
 have some. Rules are:
 - don't write flaky tests! :-)
 - small tests cannot be flaky, as it blocks other test execution. Corollary: 
 if you have an issue with a small test, it's either your environment either a 
 severe issue.
 - rerun the test a few time to validate, check the ports and file descriptors 
 used.
 ??mvn test -P localTests -Dtest=MyTest??
 = We could actually activate the localTests profile whenever -Dtest is used. 
 If we do that, we can remove the reference from localTests in the doc.
 ??mvn test -P runSmallTests?? ??mvn test -P runMediumTests??
 = I'm not sure it's actually used. We could remove them from the pom.xml 
 (and the doc).
 ??The HBase build uses a patched version of the maven surefire plugin?? 
 = Hopefully, we will be able to remove this soon :-)
  ??Integration tests are described TODO: POINTER_TO_INTEGRATION_TEST_SECTION??
  = Should be documented

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