Cassandra Dtests: skip upgrade tests

2017-12-08 Thread Sergey
Hi!

How to completely skip upgrade tests when running dtests?

Best regards,
Sergey


Re: Cassandra Dtests: skip upgrade tests

2017-12-08 Thread Jay Zhuang
 Here is how cassandra-builds jenkins job do:$ rm -r upgrade_tests/
https://github.com/apache/cassandra-builds/blob/master/build-scripts/cassandra-dtest.sh#L50

On Friday, December 8, 2017, 1:28:34 AM PST, Sergey 
 wrote:  
 
 Hi!

How to completely skip upgrade tests when running dtests?

Best regards,
Sergey  

Re: Cassandra Dtests: skip upgrade tests

2017-12-08 Thread Michael Shuler
Yep, that rm is a bit of a hack, since environment vars for
JDK{8,9}_HOME are not able to be set on the static slaves. The "proper"
way to skip them is just a normal nose exclude (drop --collect-only to
actually run 'em):

./run_dtests.py --nose-options="--collect-only -e upgrade_tests/"
  or
nosetests --collect-only -e upgrade_tests/

Also, to run only the upgrade_tests, since we're here :)

./run_dtests.py --nose-options="--collect-only upgrade_tests/"
  or
nosetests --collect-only upgrade_tests/

-- 
Michael

On 12/08/2017 12:07 PM, Jay Zhuang wrote:
>  Here is how cassandra-builds jenkins job do:$ rm -r upgrade_tests/
> https://github.com/apache/cassandra-builds/blob/master/build-scripts/cassandra-dtest.sh#L50
> 
> On Friday, December 8, 2017, 1:28:34 AM PST, Sergey 
>  wrote:  
>  
>  Hi!
> 
> How to completely skip upgrade tests when running dtests?
> 
> Best regards,
> Sergey  
> 


-
To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org
For additional commands, e-mail: dev-h...@cassandra.apache.org