On Tue, Jan 21, 2014 at 10:58 AM, Jay Vyas <[EMAIL PROTECTED]> wrote:
I was just thinking along the very same lines, actually. I think the key to realize about iTest in bigtop is that there are multiple entry points into running a test and mvn verify is just one of them.
Hence -- I'd be very interested in seeing your script submitted to a JIRA.
I have a few scripts of my own (tiny little things) and it would be interesting to see how much common functionality we can all have in bigtop. Please file a JIRA and we can go from there.
Which is good and includes all information needed to get the maven to execute tests, but the more detailed description of the enviroment is missing.
I think that it would make sense to declare under which user the tests runs under. Most tests doesn't specify the user, but some requires to be executed under either root or hdfs. Since I don't like running it all under root, we can add following into the docs:
Create dedicated user for running bigtop integration tests, eg. bigtoptestuser
This is needed since itest.shell.Shell uses sudo to execute bash process under different user if specified.
It's a little addition, but I would like to make it more clear that running integration tests under root is not a good idea - some bugs related to access rights may be missed. And whenewer a test needs to be executed under root, you just need to specify this explicitly.
What do you think? And maybe more importantly, how do you run your tests?
Let me know what you think. It is a huge convenience for me , I think it will be to others to. On Wed, Jan 29, 2014 at 11:23 AM, Martin Bukatovic <[EMAIL PROTECTED]>wrote: Jay Vyas http://jayunit100.blogspot.com
NEW: Monitor These Apps!
Apache Lucene, Apache Solr and all other Apache Software Foundation project and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext