[
https://issues.apache.org/jira/browse/SOLR-11454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16197867#comment-16197867
]
Hoss Man commented on SOLR-11454:
---------------------------------
NOTE: I initially filed this as a sub-task of SOLR-11053, but in hindsight i
think that was a mistake. It's a general improvement that doesn't relate to
if/when SoftAutoCommitTest is better then (Hard)AutoCommitTest -- so i've
converted to a top level Improvement task
> relax newSearcher based time checks in SoftAutoCommitTest
> ---------------------------------------------------------
>
> Key: SOLR-11454
> URL: https://issues.apache.org/jira/browse/SOLR-11454
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Hoss Man
> Attachments: SoftAutoCommitTest.jenkins.178.txt
>
>
> The point of SoftAutoCommitTest is to ensure that auto-commits fire when
> expected.
> The timing based checks on those autocommits are a semi-neccessary evil to
> ensure that the test doesn't get false positives due to some other commits.
> The test also sanity checks that auto-commits result in newSearcher events
> if/when they should -- but these also (currently) have timing checks ot
> ensure that they happen "fast enough" ... this seems unneccessary (given the
> purpose of hte test) and broken (there's no guarantee/expectation how fast a
> searcher will open, even though the test assumes it will be a number relative
> to the autocommit setting.
> we should relax these assertions, and just ensure that the searcher
> *eventually* opens in a non-absurd amount of time, not fail if it isn't some
> specific math function relative to other events.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]