You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Myrna van Lunteren (JIRA)" <ji...@apache.org> on 2008/05/03 03:14:55 UTC

[jira] Resolved: (DERBY-2681) SetQueryTimeoutTest. fails in J2ME environment

     [ https://issues.apache.org/jira/browse/DERBY-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren resolved DERBY-2681.
---------------------------------------

    Resolution: Fixed

I  think this is indeed a duplicate of DERBY-1848. But, as this test has been disabled in 10.2, I think it really doesn't occur in 10.2 anymore, so I think leaving this one as Fixed is ok; DERBY-1848 is still open without any change, so the failure will continue to occur occasionally..
This test is failing intermittently and I think there's a sprinkling of different jiras reported.

> SetQueryTimeoutTest. fails in J2ME environment
> ----------------------------------------------
>
>                 Key: DERBY-2681
>                 URL: https://issues.apache.org/jira/browse/DERBY-2681
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.2.2.0
>         Environment: Generating report for RunSuite derbyall j9_foundation j9 null null true 
> ------------------ Java Information ------------------
> Java Version:    J2ME Foundation Specification v1.0
> Java Vendor:     IBM Corporation
> Java home:       c:\jartest\wctme5.7\ive
> Java classpath:  c:/jartest/classes/derby.jar;c:/jartest/classes/derbyLocale*jar;c:/jartest/classes/derbytools.jar;
> c:/jartest/classes/derbynet.jar;c:/jartest/classes/derbyclient.jar;;
> c:/jartest/classes/derbyrun.jar;c:/jartest/classes/derbyTesting.jar;
> c:/jartest/classes/maps.jar;c:/jartest/classes/functionTests.jar;c:/jartest/classes/csext.jar;
> c:/jartest/tools/java/junit.jar;c:/jartest/tools/java/jndi/fscontext.jar
> OS name:         Windows 2000
> OS architecture: x86
> OS version:      5.0 build 2195 Service Pack 4
> Java user name:  cloudtest
> Java user home:  C:\Documents and Settings\cloudtest
> Java user dir:   C:\jartest\JarResults.2007-05-21\wctme5.7_foundation_derbyall
> java.specification.name: J2ME Foundation Specification
> java.specification.version: 1.0
> --------- Derby Information --------
> JRE - JDBC: J2ME - JDBC for CDC/FP 1.0
> [C:\jartest\classes\derby.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbytools.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbynet.jar] 10.2.2.1 - (539674)
> [C:\jartest\classes\derbyclient.jar] 10.2.2.1 - (539674)
>            Reporter: Mike Matrigali
>            Assignee: Myrna van Lunteren
>             Fix For: 10.2.2.1
>
>
> Have seen this error a number of times, but not every run in this environment.  
> ********* Diff file derbyall/jdbcapi/SetQueryTimeoutTest.diff
> *** Start: SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:28:51 ***
> 7 del
> < Statement 1 completed
> 8 del
> < Statement 2 completed
> 9 del
> < Statement 3 completed
> 10 del
> < Testing timeout with an execute operation
> 11 del
> < Statements that should time out timed out, and statements that should complete completed
> 12 del
> < Testing setting a negative timeout value
> 13 del
> < Negative timeout value caused exception, as expected
> 14 del
> < Execute returned a ResultSet
> 15 del
> < Testing that Statement remembers timeout.
> 16 del
> < Testing that PreparedStatement remembers timeout.
> 17 del
> < Testing that CallableStatement remembers timeout.
> 18 del
> < Testing timeout with executeUpdate call.
> 19 del
> < Test SetQueryTimeoutTest PASSED
> 19a7,11
> > Test SetQueryTimeoutTest FAILED
> > org.apache.derbyTesting.functionTests.tests.jdbcapi.SetQueryTimeoutTest$TestFailedException: Unexpected exception in 1: java.sql.SQLException: The statement has been cancelled or timed out.
> > ERROR XCL52: The statement has been cancelled or timed out.
> > java.sql.SQLException: Invalid transaction state.
> > java.sql.SQLException: Invalid transaction state.
> Test Failed.
> *** End:   SetQueryTimeoutTest jdkJ2ME Foundation Specification v1.0 derbyall:jdbcapi 2007-05-22 04:29:13 ***

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.