Improvement to random regression test

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Improvement to random regression test
Date: 2004-03-15 15:48:25
Message-ID: 200403151548.i2FFmPv11203@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

I have applied the following improvement to the random regression test.
The random test should fail less frequently.

The original code only tested two random counts. This version tests
four. It also uses the average of the counts, rather than testing each
one to make sure it is in a range 80-120. I also added a random row
test.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 4.8 KB

Browse pgsql-patches by date

  From Date Subject
Next Message Mark Cave-Ayland 2004-03-15 15:54:31 Re: ANALYZE patch for review
Previous Message Fabien COELHO 2004-03-15 15:11:37 hint infrastructure setup (v1)