From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 0FBE51F4B4 for ; Mon, 25 Jan 2021 06:41:59 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/4] miscidx: lazy transactions to fix tests Date: Sun, 24 Jan 2021 22:41:54 -0800 Message-Id: <20210125064158.15179-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 1/4 fixes a theoretical problem while search of a fix for 2/4 2/4 fixes a real problem with t/lei.t on a weak machine The rest are some yak shaves I noticed while chasing 2/4 Eric Wong (4): lei: use Time::HiRes stat for nanosecond resolution miscidx: switch to lazy transactions spawn: split() on regexp, not a literal string use defined-or in a few more places lib/PublicInbox/ExtSearchIdx.pm | 3 +-- lib/PublicInbox/LEI.pm | 1 + lib/PublicInbox/MiscIdx.pm | 19 ++++++++++++------- lib/PublicInbox/Spawn.pm | 9 ++++----- lib/PublicInbox/TestCommon.pm | 10 ++++------ lib/PublicInbox/V2Writable.pm | 4 ---- lib/PublicInbox/Watch.pm | 2 +- t/gcf2.t | 2 +- t/imap_tracker.t | 2 +- t/miscsearch.t | 1 - t/run.perl | 2 +- xt/create-many-inboxes.t | 3 +-- 12 files changed, 27 insertions(+), 31 deletions(-)