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.