Thread: btree_gist regression test busted?

btree_gist regression test busted?

From
Tom Lane
Date:
In current CVS I see a failure in the btree_gist regression test.
It kinda looks like the test data was changed without updating the
expected results, but would you verify this?
        regards, tom lane


*** ./expected/btree_gist.out    Wed Aug 22 14:27:54 2001
--- ./results/btree_gist.out    Tue Oct  2 18:48:34 2001
***************
*** 17,23 **** select count(*) from tstmp where t < '2001-05-29 08:33:09+04';  count  -------
!      7 (1 row)  -- create idx
--- 17,23 ---- select count(*) from tstmp where t < '2001-05-29 08:33:09+04';  count  -------
!     66 (1 row)  -- create idx
***************
*** 34,39 **** select count(*) from tstmp where t < '2001-05-29 08:33:09+04';  count  -------
!      7 (1 row) 
--- 34,39 ---- select count(*) from tstmp where t < '2001-05-29 08:33:09+04';  count  -------
!     66 (1 row) 



Re: btree_gist regression test busted?

From
Teodor Sigaev
Date:
You are right. Please, apply attached patch or copy result/btree_gist.out
expected/btree_gist.out


Tom Lane wrote:

> In current CVS I see a failure in the btree_gist regression test.
> It kinda looks like the test data was changed without updating the
> expected results, but would you verify this?
>
>             regards, tom lane
>
>
> *** ./expected/btree_gist.out    Wed Aug 22 14:27:54 2001
> --- ./results/btree_gist.out    Tue Oct  2 18:48:34 2001
> ***************
> *** 17,23 ****
>   select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
>    count
>   -------
> !      7
>   (1 row)
>
>   -- create idx
> --- 17,23 ----
>   select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
>    count
>   -------
> !     66
>   (1 row)
>
>   -- create idx
> ***************
> *** 34,39 ****
>   select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
>    count
>   -------
> !      7
>   (1 row)
>
> --- 34,39 ----
>   select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
>    count
>   -------
> !     66
>   (1 row)
>
>
>
>


--
Teodor Sigaev
teodor@stack.net


Attachment

Re: btree_gist regression test busted?

From
Bruce Momjian
Date:
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

> You are right. Please, apply attached patch or copy result/btree_gist.out 
> expected/btree_gist.out
> 
> 
> Tom Lane wrote:
> 
> > In current CVS I see a failure in the btree_gist regression test.
> > It kinda looks like the test data was changed without updating the
> > expected results, but would you verify this?
> > 
> >             regards, tom lane
> > 
> > 
> > *** ./expected/btree_gist.out    Wed Aug 22 14:27:54 2001
> > --- ./results/btree_gist.out    Tue Oct  2 18:48:34 2001
> > ***************
> > *** 17,23 ****
> >   select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
> >    count 
> >   -------
> > !      7
> >   (1 row)
> >   
> >   -- create idx
> > --- 17,23 ----
> >   select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
> >    count 
> >   -------
> > !     66
> >   (1 row)
> >   
> >   -- create idx
> > ***************
> > *** 34,39 ****
> >   select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
> >    count 
> >   -------
> > !      7
> >   (1 row)
> >   
> > --- 34,39 ----
> >   select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
> >    count 
> >   -------
> > !     66
> >   (1 row)
> >   
> > 
> > 
> > 
> 
> 
> -- 
> Teodor Sigaev
> teodor@stack.net
> 

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://archives.postgresql.org

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: btree_gist regression test busted?

From
Bruce Momjian
Date:
Appears to have been already applied.  Thanks.

> You are right. Please, apply attached patch or copy result/btree_gist.out 
> expected/btree_gist.out
> 
> 
> Tom Lane wrote:
> 
> > In current CVS I see a failure in the btree_gist regression test.
> > It kinda looks like the test data was changed without updating the
> > expected results, but would you verify this?
> > 
> >             regards, tom lane
> > 
> > 
> > *** ./expected/btree_gist.out    Wed Aug 22 14:27:54 2001
> > --- ./results/btree_gist.out    Tue Oct  2 18:48:34 2001
> > ***************
> > *** 17,23 ****
> >   select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
> >    count 
> >   -------
> > !      7
> >   (1 row)
> >   
> >   -- create idx
> > --- 17,23 ----
> >   select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
> >    count 
> >   -------
> > !     66
> >   (1 row)
> >   
> >   -- create idx
> > ***************
> > *** 34,39 ****
> >   select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
> >    count 
> >   -------
> > !      7
> >   (1 row)
> >   
> > --- 34,39 ----
> >   select count(*) from tstmp where t < '2001-05-29 08:33:09+04';
> >    count 
> >   -------
> > !     66
> >   (1 row)
> >   
> > 
> > 
> > 
> 
> 
> -- 
> Teodor Sigaev
> teodor@stack.net
> 

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://archives.postgresql.org

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026