You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2019/03/08 14:22:00 UTC

[jira] [Comment Edited] (SOLR-13307) Ensure HDFS tests clear System properties they set

    [ https://issues.apache.org/jira/browse/SOLR-13307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16787920#comment-16787920 ] 

Kevin Risden edited comment on SOLR-13307 at 3/8/19 2:21 PM:
-------------------------------------------------------------

Overview of what was happening:
 * HDFS test runs and sets some System properties like blocksperbank
 * HDFS test finishes and doesn't clear the system property
 * Another HDFS test runs in the same JVM and uses the existing System property.
 * This second HDFS test fails since the system property should not have been set.

I checked some of the recent failures and they all had at least one test in the same JVM that had missed clearing System properties. In some cases, the system properties were set again so thats why we don't too many failures from this.

It also explains why I could not reproduce any individual test since it was the left over changes from a different test causing issues.


was (Author: risdenk):
Overview of what was happening:
 * HDFS test runs and sets some System properties like blocksperbank
 * HDFS test finishes and doesn't clear the system property
 * Another HDFS test runs in the same JVM and uses the existing System property.
 * This second HDFS test fails since the system property should not have been set.

I checked some of the recent failures and they all had at least one test in the same JVM that had missed clearing System properties. In some cases, the system properties were set again so thats why we don't too many failures from this.

> Ensure HDFS tests clear System properties they set
> --------------------------------------------------
>
>                 Key: SOLR-13307
>                 URL: https://issues.apache.org/jira/browse/SOLR-13307
>             Project: Solr
>          Issue Type: Test
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Major
>             Fix For: 8.x, master (9.0)
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> While looking at SOLR-13297, found there are system properties that are not cleared in HDFS tests. This can cause other HDFS tests in the same JVM to have weird configs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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