You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Uwe Schindler <uw...@thetaphi.de> on 2014/11/01 12:22:50 UTC

Asserts now disabled in 1/3 of all runs on Policeman Jenkins

Hi all,

I changed policeman Jenkins configuration to make use of the new property "tests.asserts" that can be passed to ANT. It sets this to false in 1/3 of all cases (so 2 runs with and 1 run without assertions on average). The setting is also added to the build description and the failure mail.

By that we can be sure that our code also triggers no hotspot crushes / bugs in production code. Because assertions heavily change the assembler code produced!!!

Uwe

P.S.: This was first done by Elasticsearch's Test Cluster! Thanks to them for checking this out!

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


RE: Asserts now disabled in 1/3 of all runs on Policeman Jenkins

Posted by Uwe Schindler <uw...@thetaphi.de>.
This also solves issue https://issues.apache.org/jira/browse/LUCENE-6020.

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> Sent: Saturday, November 01, 2014 12:23 PM
> To: dev@lucene.apache.org
> Subject: Asserts now disabled in 1/3 of all runs on Policeman Jenkins
> 
> Hi all,
> 
> I changed policeman Jenkins configuration to make use of the new property
> "tests.asserts" that can be passed to ANT. It sets this to false in 1/3 of all
> cases (so 2 runs with and 1 run without assertions on average). The setting is
> also added to the build description and the failure mail.
> 
> By that we can be sure that our code also triggers no hotspot crushes / bugs
> in production code. Because assertions heavily change the assembler code
> produced!!!
> 
> Uwe
> 
> P.S.: This was first done by Elasticsearch's Test Cluster! Thanks to them for
> checking this out!
> 
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional
> commands, e-mail: dev-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org