pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: John Lister <john.lister-ps@kickstone.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Unit test patches
Date: Sun, 3 May 2009 12:42:52 -0400 (EDT)
Message-ID: <Pine.BSO.4.64.0905031241160.20196@leary.csoft.net> (raw)
In-Reply-To: <49FAC740.1060607@kickstone.com>
References: <49FAC740.1060607@kickstone.com>



On Fri, 1 May 2009, John Lister wrote:

> The first occurs in DatabaseMetaDataTest.testTables line 104:
>
> It fetches all the columns for any table beginning with test - i happen to 
> have other tables named test... which causes this to fail. I've modified it 
> to look for the testmetadata table, alternatively the docs should be altered 
> to state that the test database should be clean.

It is expected that the test database is empty.

> The second in TimeTest.timeTest : line 269 & 283:
> The timezone tests fail because the as it happens local daylight savings is 
> in effect, the code tries to test for this by submitting the time being 
> tested, but this actually works out daylight savings for the time at the 
> epoch (1/1/1970). I've modified it to use DST_OFFSET instead (note -  this 
> may fail if ran during the switchover period).

What timezone are you running the tests in?  I don't see them 
in US/Pacific.  Reproducing the failure would help.

Kris Jurka




view thread (14+ messages)  latest in thread

Message-ID: <Pine.BSO.4.64.0905031241160.20196@leary.csoft.net>
Permalink:  ../Pine.BSO.4.64.0905031241160.20196@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.64.0905031241160.20196@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, john.lister-ps@kickstone.com
  Subject: Re: Unit test patches
  In-Reply-To: <Pine.BSO.4.64.0905031241160.20196@leary.csoft.net>
  References: <49FAC740.1060607@kickstone.com> <Pine.BSO.4.64.0905031241160.20196@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox