Hi Dishara, On Thursday, September 5, 2013, Dishara Wijewardana wrote:
> Hi Ian, > Did you mean the sling integration test (which runs the performance tests > and provides reports) to move inside google code repo ? Yes please. Thanks Best regards Ian > > > On Wed, Sep 4, 2013 at 5:41 PM, Ian Boston <[email protected]> wrote: > > > On 4 September 2013 13:42, Dishara Wijewardana <[email protected]> > > wrote: > > > HI Ian, > > > > > > > > > > > > On Wed, Sep 4, 2013 at 4:00 PM, Ian Boston <[email protected]> wrote: > > > > > >> On 4 September 2013 12:20, Dishara Wijewardana < > [email protected] > > > > > >> wrote: > > >> <snip> > > >> > > >> >> How long does it take to add, update and delete, 100 new items to > the > > >> >> existing collections that you used for the read tests. If its > quick, > > you > > >> >> may need to make that 1000 new items. > > >> >> > > >> >> > > >> > Hi Ian, > > >> > > > >> > In the modify provider interface there is no "update" method. Am I > > >> missing > > >> > something? > > >> > > >> You need to support adapTo(ModifyableValueMap.class) IIRC. > > >> > > > I saw the interface ModifyableValueMap, but could not find a clear > > example > > > usage of it as in PlanetResource case. But will see further. > > > > > > > IIRC the MongoDB ResourceProvider allows modification. grep the Sling > > source code for it. > > > > > > >> > > >> > > > >> > Can you please elaborate more on exact scope and goals on what is > > >> expected > > >> > from the new performance test class?Is it to capture the add/delete > > >> latency > > >> > on nodes added in each collection. > > >> > > >> yes. > > >> > > >> > > > >> > If so, is it possible to test add/delete extending HTTPBase test as > > done > > >> > for reading ? Or any other class that provides abstract test class/ > > APIs > > >> to > > >> > add/delete ? > > >> > > > >> > > >> Where are the classes that you used to perform the read tests, I cant > > >> see them in the repo ? > > >> > > >> The class that I used was > > > org.apache.sling.commons.testing.integration.HttpTestBase . I have > > attached > > > the patch of my class which extends this class. There I am usinf > > > getContent() method of the base class to do HTTP get content > operations. > > > > > > Could we get your test classes to run the load test into your > > repository please, even if its something that has to be run manually. > > > > Thanks > > > > > > Best Regards > > Ian > > > > > > > > > >> Ian > > >> > > >> > > >> > > >> > > > >> > > > >> >> Best regards > > >> >> Ian > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > > >> >> > > > >> >> > > Best Regards > > >> >> > > Ian > > >> >> > > > > >> >> > > On 3 September 2013 01:23, Dishara Wijewardana < > > >> >> [email protected]<javascript:;> > > >> >> > > > > >> >> > > wrote: > > >> >> > > > Hi Ian, > > >> >> > > > Thank you for the references. I just commited the changes. > > There I > > >> >> have > > >> >> > > > completed the whole implementation of > ModifyingResourceProvider > > >> >> > interface > > >> >> > > > for Cassandra Resource Provider (create, delete, commit , > > >> rollback > > >> >> > etc) > > >> >> > > > and wrote 3 test classes ( > > >> CassandraModifyResourceProvide**rAddTest, > > >> >> > > Cassan > > >> >> > > > draModif-- > Thanks > /Dishara >
