[
https://issues.apache.org/jira/browse/DERBY-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Manjula Kutty reopened DERBY-2681:
----------------------------------
This happened again in 10.5.Alpha. Here is the stack
SetQueryTimeoutTest(org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCHarnessJavaTest)junit.framework.ComparisonFailure:
Output at line 7 expected:<Statement 1 completed> but was:<Test
SetQueryTimeoutTest FAILED>
at
org.apache.derbyTesting.functionTests.util.CanonTestCase.compareCanon(CanonTestCase.java:100)
at
org.apache.derbyTesting.functionTests.util.HarnessJavaTest.runTest(HarnessJavaTest.java:91)
at
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:103)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 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_zh_TW.jar;c:/jartest/classes/derbyLocale_zh_CN.jar;c:/jartest/classes/derbyLocale_ru.jar;c:/jartest/classes/derbyLocale_pt_BR.jar;c:/jartest/classes/derbyLocale_pl.jar;c:/jartest/classes/derbyLocale_ko_KR.jar;c:/jartest/classes/derbyLocale_ja_JP.jar;c:/jartest/classes/derbyLocale_it.jar;c:/jartest/classes/derbyLocale_hu.jar;c:/jartest/classes/derbyLocale_fr.jar;c:/jartest/classes/derbyLocale_es.jar;c:/jartest/classes/derbyLocale_de_DE.jar;c:/jartest/classes/derbyLocale_cs.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.