From java-user-return-63984-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Tue Aug 28 02:59:18 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 60B11180674 for ; Tue, 28 Aug 2018 02:59:18 +0200 (CEST) Received: (qmail 80807 invoked by uid 500); 28 Aug 2018 00:59:17 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 80795 invoked by uid 99); 28 Aug 2018 00:59:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2018 00:59:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CC772C5BD6 for ; Tue, 28 Aug 2018 00:59:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.138 X-Spam-Level: X-Spam-Status: No, score=0.138 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id UPy7cu6ME-R6 for ; Tue, 28 Aug 2018 00:59:14 +0000 (UTC) Received: from mail-ed1-f68.google.com (mail-ed1-f68.google.com [209.85.208.68]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 61C3A5F33E for ; Tue, 28 Aug 2018 00:59:14 +0000 (UTC) Received: by mail-ed1-f68.google.com with SMTP id p52-v6so106207eda.12 for ; Mon, 27 Aug 2018 17:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=ITJ2hQ1ae+CDsty5TXCNovAkQlLhVMHQJddDWFkHbqI=; b=H1OQN9opQ0bbcWLhsDmDDU9MUdqFCbmfyj7gOVqkY/Fnt1fOGDw2xhK4DBan2/XJIL HT1KU7rA6Dyk4sOb/VXT5SnHIKZuntzcUvDsDSVgkKy7sXU+T2pQcHFWKK/n0Ovq2+HH lMouXS9uPup2Ui3HAzZSzAlzgZqFDVYHEAAMrXoLV7pyyyOv1DArcyCejatoAFqaFNFS rmX6G7HQ33i3qoSERGC2xNZKa0yNoGHQu3r8qadh0ftS01q6vXOi5g+f/+NOpqhTZBex Hp26mwgYED/3t5/hJ8ypvRC2p8FkamWA+Bn9m8JN8CjosHncTrOUhELKWcOxQn5xlnP3 DdiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=ITJ2hQ1ae+CDsty5TXCNovAkQlLhVMHQJddDWFkHbqI=; b=XKsO+jBtXG9BQCvzz8t86dfECFvJGgZSbH8abcK7v+5AC9suhkbpBzL1Y8nbOojUo9 o8gE/yscr0DrGLGPq9prpBEzxwK0EQ5JjB5gmgXPfbjHBQZRZbNXe2Ul2SG0yFuQzvc6 yfvtr35ors5zmy+YcNgm0YYahoFXCPDjyWf/u/RwC+MyGo4CzTTeo6UtPwNZ6NWGVfVa tsV2ho/nvJo2ZcUZQlrJ3AnMdHR85W0p5jivVRT/XmK2YDaIeYWvfsiEhq3QRLk7FRP1 hVMs1AM5TSYhxR9vIg6bUJ7E2vK1bU8OOKlodhBUoqxutzPoyNvqrsMweVapgPrejN2f IAdQ== X-Gm-Message-State: APzg51AUliEKxWHj9cM3Ucm9Q351DxImQF+179LB3P1j0yA9FGp5CCJ+ tWzrNVXthCUQJl2Qq19Mo0eTUzTfogGNC9juPFLlYwNK X-Google-Smtp-Source: ANB0Vdaq/pQmbYNsS+YAyCMHqEua2PAByiZBPZtSDkfI9z66PxgV+dQwfNX4M5tDvsDa/ZcIeH+IN8w75lnHzAWBAYM= X-Received: by 2002:a50:f69b:: with SMTP id d27-v6mr19671934edn.103.1535417954035; Mon, 27 Aug 2018 17:59:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Tomoko Uchida Date: Tue, 28 Aug 2018 09:59:02 +0900 Message-ID: Subject: Re: Question about usage of LuceneTestCase To: java-user@lucene.apache.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > i haven't looked closely into what exactly that "useFactory(null)" call > does, but it's probably worth getting to the bottom of the failures and > *IF* it's tied to some specific dir type or codec, using annotations to > supress them -- rather then just eliminating all directory randomization. Thanks for your advice. I have not looked into the method "useFactory()" yet (do not have enough time for this.) I will take time to examine details of our failed tests, and try to search lucene/solr test cases around Directories or Codecs to refer to. Thanks, Tomoko 2018=E5=B9=B48=E6=9C=8828=E6=97=A5(=E7=81=AB) 2:15 Chris Hostetter : > > > : Current version of Luke supports FS based directory implementations onl= y. > : (I think it will be better if future versions support non-FS based cust= om > : implementations, such as HdfsDirectoryFactory for users who need it.) > : Disabling the randomization, at least for now, sounds reasonable to me = too. > : I'll try this way. > > Be careful with this assumption... > > The randomization of directory types isn't just about things like "let's > try a RAM Dir" it also includes things like "let's randomize a dir that > simulates Windows filesystem quirks" -- stuff that would be very handy t= o > test with re-usable tool like Luke where you expect users to run on a > variety of platforms / filesystems. > > i haven't looked closely into what exactly that "useFactory(null)" call > does, but it's probably worth getting to the bottom of the failures and > *IF* it's tied to some specific dir type or codec, using annotations to > supress them -- rather then just eliminating all directory randomization. > > > -Hoss > http://www.lucidworks.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > --=20 Tomoko Uchida --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org