agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Tests fails
Date: Sun, 25 Jun 2006 16:49:57 +0200
Message-ID: <449EA295.3020600@noos.fr> (raw)

Hello,

I get an exception in the jdbc driver when trying to run the tests 
org.postgresql.pljava.test.Tester:

org.postgresql.util.PSQLException: ERROR: java.sql.SQLException: 
sp.checkState: Expected 1, got 0
        at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1527)
        at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1311)
        at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:190)
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:340)
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:239)
        at 
org.postgresql.pljava.test.Tester.testSavepointSanity(Tester.java:610)
        at org.postgresql.pljava.test.Tester.main(Tester.java:249)

I am runing the tests on a MacOSX 10.3.9, Java 1.4.2, PostgreSQL 8.1.4, 
jdbc3 8.1-407 driver and pljava 1.3.0.
There are two tests which produce de same exception 
"testSavepointSanity" and "testTransactionRecovery". If I remove theese 
two tests from Tester.java then all tests are performed.

Is this something that some one has already encounter ?

Thanks for your help.
 





view thread (2+ messages)  latest in thread

Message-ID: <449EA295.3020600@noos.fr>
Permalink:  ../449EA295.3020600@noos.fr/
Also on:    postgresql.org/message-id/449EA295.3020600@noos.fr

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 using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] Tests fails
  In-Reply-To: <449EA295.3020600@noos.fr>

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

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