[jira] [Updated] (SOLR-11054) Add SoftAutoCommitTest.testSoftAndHardCommitMaxDocs

2017-08-11 Thread Cao Manh Dat (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-11054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cao Manh Dat updated SOLR-11054:

Attachment: SOLR-11054.patch

We will replace {{AutoCommitTest.testMaxDocs()}} with this, so I think we 
should assert that all docs from 0 -> softCommitMaxDocs must be searchable.

> Add SoftAutoCommitTest.testSoftAndHardCommitMaxDocs
> ---
>
> Key: SOLR-11054
> URL: https://issues.apache.org/jira/browse/SOLR-11054
> Project: Solr
>  Issue Type: Sub-task
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Hoss Man
> Attachments: SOLR-11054.patch, SOLR-11054.patch
>
>
> SoftAutoCommitTest should have a testSoftAndHardCommitMaxDocs that checks the 
> maxDocs option for autocommit using the same monitor polling used by other 
> existing SoftAutoCommitTest tests.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (SOLR-11054) Add SoftAutoCommitTest.testSoftAndHardCommitMaxDocs

2017-07-12 Thread Hoss Man (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-11054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoss Man updated SOLR-11054:

Attachment: SOLR-11054.patch

Here's a patch that i think would work well for this.

it covers that basics of asserting via the monitor that the each type of commit 
is fired no sooner then expected, and that no extra commits are fired, and 
doesn't get bogged down in any assumptions about the searcher

> Add SoftAutoCommitTest.testSoftAndHardCommitMaxDocs
> ---
>
> Key: SOLR-11054
> URL: https://issues.apache.org/jira/browse/SOLR-11054
> Project: Solr
>  Issue Type: Sub-task
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Hoss Man
> Attachments: SOLR-11054.patch
>
>
> SoftAutoCommitTest should have a testSoftAndHardCommitMaxDocs that checks the 
> maxDocs option for autocommit using the same monitor polling used by other 
> existing SoftAutoCommitTest tests.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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