You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2019/05/17 18:55:00 UTC

[jira] [Commented] (SOLR-13479) Harden OverseerTaskQueueTest

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

Jan Høydahl commented on SOLR-13479:
------------------------------------

Fails seem to be due to asserting timing between 250ms - 1000ms which is fragile in a distributed system.

In first round I'll increase max time to 1500ms and add an info message so future failures can give insight into the timings.
{noformat}
Time was X ms, expected 250-1500ms{noformat}

> Harden OverseerTaskQueueTest
> ----------------------------
>
>                 Key: SOLR-13479
>                 URL: https://issues.apache.org/jira/browse/SOLR-13479
>             Project: Solr
>          Issue Type: Test
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Major
>
> Test {{OverseerTaskQueueTest.testPeekElements}} fails too often:
> {noformat}
> FAILED:  org.apache.solr.cloud.OverseerTaskQueueTest.testPeekElements
> Error Message:
> Stack Trace:
> java.lang.AssertionError
> at __randomizedtesting.SeedInfo.seed([850C6974DEB7632E:7822D3550E8E3733]:0)
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertTrue(Assert.java:52)
> at org.apache.solr.cloud.DistributedQueueTest.testPeekElements(DistributedQueueTest.java:277)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method){noformat}



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