From: thomas at tada.se (Thomas Hallgren) Date: Tue, 27 Jun 2006 10:28:20 +0200 Subject: [Pljava-dev] Tests fails In-Reply-To: <449EA295.3020600@noos.fr> References: <449EA295.3020600@noos.fr> Message-ID: <44A0EC24.9060509@tada.se> Hi EsSaid, This is quite odd. It indicates that you don't get proper callbacks for the savepoints on that platform. The same configuration (I use Sun Java 1.4.2_12, PostgreSQL 8.1.4, and pljava 1.3.0) works well on the platforms I have access to. Can you provide some more info? The output from the backend is always helpful. What kind of JVM are you using? Regards, Thomas Hallgren EsSaid Kharrazen wrote: > 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. > > > _______________________________________________ > Pljava-dev mailing list > Pljava-dev at gborg.postgresql.org > http://gborg.postgresql.org/mailman/listinfo/pljava-dev >