chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Potts (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CMIS-234) QueryTest.testSimpleSelect is very slow to run
Date Tue, 13 Jul 2010 19:20:50 GMT

    [ https://issues.apache.org/jira/browse/CMIS-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887940#action_12887940
] 

Jeff Potts commented on CMIS-234:
---------------------------------

I'll modify the cmislibtest file to exclude testSimpleSelect (and possibly all QueryTests)
by default.

> QueryTest.testSimpleSelect is very slow to run
> ----------------------------------------------
>
>                 Key: CMIS-234
>                 URL: https://issues.apache.org/jira/browse/CMIS-234
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: cmislib
>            Reporter: Jeff Potts
>            Assignee: Jeff Potts
>            Priority: Minor
>
> Migrated from GC issue 13, Reported by niyue.com, Mar 29, 2010
> QueryTest.testSimpleSelect will create a document and tries to find it in
> the result set. Because the result set is paginated, client will follow the
> paging links to get next page result. But this may be very slow sometimes.
> Because the testSimpleSelect uses a query "SELECT * FROM cmis:document",
> and this will match all documents in a repository. If a repository contains
> 10k (or more) documents, and each page contains 100 results, 100 requests
> may be issued just for this case, which will cost a long time to run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message