Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtwdz-0003nA-ST for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Feb 2019 15:40:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gtwdy-0002rr-Jg for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Feb 2019 15:40:14 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtwdy-0002mm-7J for pgsql-hackers@lists.postgresql.org; Wed, 13 Feb 2019 15:40:14 +0000 Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtwdv-0002bm-9y for pgsql-hackers@postgresql.org; Wed, 13 Feb 2019 15:40:12 +0000 Received: by mail-qt1-x843.google.com with SMTP id o6so3020956qtk.6 for ; Wed, 13 Feb 2019 07:40:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=MAZ7lJgauBsxxSatqL2jBrykzf7zhKemXv9i57JksH4=; b=OoMrGMBqrjYhW1VNqrqkJ4k2gBXNGWMF7GEwHUcQvmnewCHneTXW5qQfZfEKFqrme6 onUSqm5iXLYXRymFKcLAu5ZQE3fafpmh6f4IZPy9HrI+YeR/IXnNuoH49g8Q/o33A6HR vCnKnTYd1FcZBw4xSRLVJNhoBHfcfeIEtityRk3ocpvFVHV6x6WLKf5RDTZb/eYnOxvN JvFqsQWnK1hvZ+tGROdzIvaLR2F8juAkXBLQjmofgn0l3JukhLTCBMwOXnnhna+fIwQG VnNuwefJ6kxgl6T088a0bx7iioMDAVxd1UQDzZNjyltqhOMFX+490m/jRdOckKKbacWG ajvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=MAZ7lJgauBsxxSatqL2jBrykzf7zhKemXv9i57JksH4=; b=mI48EZ4HqxNCwPaifxRM+wT9iDoVxFLJWd62ESBex46cFH/kqv8zJzXIY8J5qgxNLb iYyMrLW9w6xOj6LC81O8K5hUTQSto6VvBGYgv7aIr/UHg/1ex1q7yH/n1aRIPQ+1o4DS 8zds4tjBgpRdzYaEg1l3QIj9rBGY002T8vj6Bk4qEZ1sEYGk3V/qGJ8aDg9650xSqg1J emlbiRrSbzkHst4dfvsuiFH4ljzybl5ZzjbbJ3la5SSq5lJ0DOKAEXtWsxUSIhgdOXVi bM7s5dPzNnsLs2+7Slxn9sfLSupdeWj1tCAIVOYEMDowIYWji47A4ClT5zDYMNy8Jaky Zp+Q== X-Gm-Message-State: AHQUAuZ5rsn/3ITcDfEi6YHLmie04PJd8ikyyRFeug6nk8IUU2Ehhjli E7x2oVHEE+il6pszCI82cANFS62LuWnFKA== X-Google-Smtp-Source: AHgI3IbV2QUaUdjiI23B4izbdaCCPeatQj5M03Sr35jktY/6v9osaE5vrj4Ozrciqb8B+5EesGW3RA== X-Received: by 2002:ac8:17e7:: with SMTP id r36mr920973qtk.104.1550072410667; Wed, 13 Feb 2019 07:40:10 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([201.186.80.67]) by smtp.gmail.com with ESMTPSA id q2sm14058009qkc.68.2019.02.13.07.40.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Feb 2019 07:40:10 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 5D440123A78; Wed, 13 Feb 2019 12:40:08 -0300 (-03) Date: Wed, 13 Feb 2019 12:40:08 -0300 From: Alvaro Herrera To: Tom Lane Cc: Andres Freund , Thomas Munro , pgsql-hackers@postgresql.org Subject: Re: reducing isolation tests runtime Message-ID: <20190213154008.GA16739@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <21516.1550068475@sss.pgh.pa.us> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Feb-13, Tom Lane wrote: > Andres Freund writes: > > I'm working an updated version of this. Adding the new tests is a bit > > painful because of conflicting names making it harder than necessary to > > schedule tests. While it's possible to work out a schedule that doesn't > > conflict, it's pretty annoying to do and more importantly seems fragile > > - it's very easy to create schedules that succeed on one machine, and > > not on another, based on how slow which tests are. > > > I'm more inclined to be a bit more aggressive in renaming tables - > > there's not much point in having a lot of "foo"s around. So I'm > > inclined to rename some of the names that are more likely to > > conflict. If we agree on doing that, I'd like to do that first, and > > commit that more aggressively than the schedule itself. > > +1 +1 (Using separate schemas sounds a useful idea if we accumulate dozens of tests, so I suggest that we do that for future tests, but for the time being I wouldn't bother.) > > Do we want to maintain a serial version of the schedule too? > > Some of the slower buildfarm critters use MAX_CONNECTIONS to limit > the load on their hosts. As long as the isolation tests honor that, > I don't see a real need for a separate serial schedule. MAX_CONNECTIONS was the only reason I didn't push this through. Do you (Andres) have any solution to that? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services