Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A8144104AA for ; Wed, 23 Oct 2013 07:10:44 +0000 (UTC) Received: (qmail 90506 invoked by uid 500); 23 Oct 2013 07:10:44 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 90374 invoked by uid 500); 23 Oct 2013 07:10:43 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 90366 invoked by uid 99); 23 Oct 2013 07:10:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Oct 2013 07:10:43 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mreutegg@adobe.com designates 64.18.1.236 as permitted sender) Received: from [64.18.1.236] (HELO exprod6og120.obsmtp.com) (64.18.1.236) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Oct 2013 07:10:34 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob120.postini.com ([64.18.5.12]) with SMTP ID DSNKUmd2VAe+ydsfnr2/3KTuVSkT4DhueuMM@postini.com; Wed, 23 Oct 2013 00:10:14 PDT Received: from inner-relay-1.corp.adobe.com (ms-exchange.macromedia.com [153.32.1.51]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r9N7ABxa006665 for ; Wed, 23 Oct 2013 00:10:11 -0700 (PDT) Received: from nahub02.corp.adobe.com (nahub02.corp.adobe.com [10.8.189.98]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r9N7A56B024782 for ; Wed, 23 Oct 2013 00:10:09 -0700 (PDT) Received: from eurhub01.eur.adobe.com (10.128.4.30) by nahub02.corp.adobe.com (10.8.189.98) with Microsoft SMTP Server (TLS) id 8.3.327.1; Wed, 23 Oct 2013 00:10:05 -0700 Received: from eurmbx01.eur.adobe.com ([10.128.4.32]) by eurhub01.eur.adobe.com ([10.128.4.30]) with mapi; Wed, 23 Oct 2013 08:10:03 +0100 From: Marcel Reutegger To: "oak-dev@jackrabbit.apache.org" Date: Wed, 23 Oct 2013 08:10:02 +0100 Subject: slow observation tests Thread-Topic: slow observation tests Thread-Index: Ac7PvS1G7kxLoimKRL6I5wlFkpH4/g== Message-ID: <9C0FC4C8E9C29945B01766FC7F9D389818A7A2C624@eurmbx01.eur.adobe.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, our JCR observation tests are quite slow compared to Jackrabbit. In an offline discussion with Michael, we suspected the way tests are written is the culprit. at least the TCK tests may wait up to five seconds for events. we thought some excluded tests slow down execution because those do not get expected events and therefore wait five seconds. after a closer look I don't think that's the case. even tests, which succeed are kind of slow. I rather think it's the polling interval in oak. AFAIU oak polls for changes every second. this also means events are delivered with an average delay of half a second. would it be possible to lower the interval, at least for the tests? I think this would speed up those tests significantly.=20 Regards Marcel