Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aUbx8-0000Qs-Iu for pgsql-hackers@arkaria.postgresql.org; Sat, 13 Feb 2016 15:17:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aUbx8-0007Om-54 for pgsql-hackers@arkaria.postgresql.org; Sat, 13 Feb 2016 15:17:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aUbvo-0005Gs-Fg for pgsql-hackers@postgresql.org; Sat, 13 Feb 2016 15:16:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aUbvm-0005Ah-IJ for pgsql-hackers@postgresql.org; Sat, 13 Feb 2016 15:16:20 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u1DFGEYB020896; Sat, 13 Feb 2016 10:16:14 -0500 From: Tom Lane To: Greg Stark cc: PostgreSQL-development , Robert Haas Subject: Re: Re: [COMMITTERS] pgsql: Add some isolation tests for deadlock detection and resolution. In-reply-to: References: <21023.1455200996@sss.pgh.pa.us> <14581.1455205343@sss.pgh.pa.us> <20201.1455210279@sss.pgh.pa.us> <24444.1455251654@sss.pgh.pa.us> <1427.1455301014@sss.pgh.pa.us> <17358.1455314354@sss.pgh.pa.us> <26400.1455328772@sss.pgh.pa.us> Comments: In-reply-to Greg Stark message dated "Sat, 13 Feb 2016 13:41:29 +0000" Date: Sat, 13 Feb 2016 10:16:14 -0500 Message-ID: <20895.1455376574@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Greg Stark writes: > The tests worked fine on faster build animals, right? And the clobber > animals are much much slower.... So it seems perfectly sensible that their > deadlock timeout would just have to be much much higher to have the same > behaviour. I see nothing wrong in just setting deadlock timeout to a minute > or more on these machines. We don't have a way to make the isolation tests change behavior depending on how the backend is compiled. So the only actually available fix is to make that test take "a minute or more" for *everybody*. Aside from that, it's just disturbing that these tests aren't deterministic regardless of machine speed. We don't seem to have a way around that right now, but I wish we did. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers