From: | Kim Ho <kho(at)redhat(dot)com> |
---|---|
To: | pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Fixing test failure on 7.4 |
Date: | 2003-08-01 13:09:22 |
Message-ID: | 1059743362.4172.1.camel@yay-lap |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
After moving from 7.3.3 to 7.4
[junit] ...........F..............................
[junit] .........................................
[junit] .............................
[junit] Time: 20.137
[junit] There was 1 failure:
[junit] 1)
testTransactionIsolation(org.postgresql.test.jdbc2.ConnectionTest)junit.framework.AssertionFailedError: expected:<8> but was:<2>
[junit] at
org.postgresql.test.jdbc2.ConnectionTest.testTransactionIsolation(ConnectionTest.java:271)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] FAILURES!!!
[junit] Tests run: 111, Failures: 1, Errors: 0
It's because PG sends back "serializable" instead of "SERIALIZABLE" now.
Attached fix.
Cheers,
Kim
Attachment | Content-Type | Size |
---|---|---|
transactionisolation.diff | text/x-patch | 1.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Fernando Nasser | 2003-08-01 13:56:18 | Re: new user rpm content question. |
Previous Message | Jesus Sandoval | 2003-08-01 11:12:35 | server side resultset search (for performance reasons) |