Test suite failures?

Поиск
Список
Период
Сортировка
От Maciek Sakrejda
Тема Test suite failures?
Дата
Msg-id 1237824728.27134.20.camel@manatee.sm.truviso.com
обсуждение исходный текст
Ответы Re: Test suite failures?  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
(re-sending this--I tried yesterday but it looks like it failed without
a clear reason)

I've finally gotten the COPY functionality merge to a stable point and
wanted to run through the test suite, but I found that (even without
applying the COPY changes) I get a number of errors from the jdbc2
tests:

    [mkdir] Created
dir: /home/maciek/git/copy-merge/jdbc-upstream/build/testresults
    [junit] Testsuite: org.postgresql.test.jdbc2.Jdbc2TestSuite
    [junit] Tests run: 269, Failures: 0, Errors: 131, Time elapsed:
13.212 sec
    .......
    .......
    [junit] Test org.postgresql.test.jdbc2.Jdbc2TestSuite FAILED
    [junit] Testsuite:
org.postgresql.test.jdbc2.optional.OptionalTestSuite
    [junit] Tests run: 40, Failures: 0, Errors: 0, Time elapsed: 2.404
sec
    [junit]
    [junit] Testsuite: org.postgresql.test.jdbc3.Jdbc3TestSuite
    [junit] Tests run: 65, Failures: 0, Errors: 0, Time elapsed: 2.048
sec
    [junit]
    [junit] Testsuite: org.postgresql.test.xa.XATestSuite
    [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.517
sec
    [junit]

The initial Exception that seems to bork the Connection and trigger a
cascade of Exceptions is here:

    [junit] Testcase:
testComments(org.postgresql.test.jdbc2.PreparedStatementTest):    Caused
an ERROR
    [junit] An I/O error occured while sending to the backend.
    [junit] org.postgresql.util.PSQLException: An I/O error occured
while sending to the backend.
    [junit]     at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:220)
    [junit]     at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)
    [junit]     at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)
    [junit]     at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:360)
    [junit]     at
org.postgresql.test.jdbc2.PreparedStatementTest.testComments(PreparedStatementTest.java:437)
    [junit] Caused by: java.io.EOFException
    [junit]     at
org.postgresql.core.PGStream.ReceiveChar(PGStream.java:261)
    [junit]     at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1183)
    [junit]     at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:194)
    [junit]

Any thoughts? I grabbed this at trunk at this commit:

Author: jurka <jurka>
Date:   Thu Mar 12 03:59:50 2009 +0000

    Don't use pg_attrdef.adsrc to display a column's default value.
    This can get out of date when dependent objects are renamed.
    Instead decompile the adbin column to fetch up to date information.

    Per complaint from Dickson S. Guedes and suggestion from Tom Lane
    for the fix.


Thanks,
--
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com



В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Understanding PGInterval
Следующее
От: Guy Rouillier
Дата:
Сообщение: Re: Log4j Appender