db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6701) Instability in RuntimeInfoTest.x_testRuntimeInfoAfterConnClose
Date Fri, 08 Aug 2014 13:56:12 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14090772#comment-14090772
] 

Rick Hillegas commented on DERBY-6701:
--------------------------------------

Linking to derby-1455. The header comment for the method points us at derby-1455 and the symptoms
look similar. The solution to derby-1455 was to make the thread sleep for a second before
checking the server state. Maybe we need to sleep an additional second.

> Instability in RuntimeInfoTest.x_testRuntimeInfoAfterConnClose
> --------------------------------------------------------------
>
>                 Key: DERBY-6701
>                 URL: https://issues.apache.org/jira/browse/DERBY-6701
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.11.1.1, 10.12.0.0
>         Environment: mac osx 10.7.5, jdk1.8.0-b132
>            Reporter: Rick Hillegas
>
> I have seen variations of the following error twice in the past 2 days: once on the 10.12
trunk while testing the fix to derby-6692 and then again on the 10.11.1.1 release candidate
while running the tests without the Lucene jar files.
> {noformat}
> 1) testRunTests(org.apache.derbyTesting.functionTests.tests.derbynet.RuntimeInfoTest)junit.framework.ComparisonFailure:
Output doesn't match expected:<...-----
> Sessionnummer:[8
> -------------------------------------------------------------
> Anzahl Verbindungsthreads: 4
> Anzahl aktive Sessions: 1]
> Anzahl wartende Ses...> but was:<...-----
> Sessionnummer:[5
> Datenbank:singleUse/oneuse5
> Benutzer:APP
> Anzahl Anweisungen:2
> Informationen zur vorbereiteten Anweisung: 
> 	Anwsg-ID		SQL-Text
> 	-------------	-----------
> 	null
> 	null
> Sessionnummer:8
> -------------------------------------------------------------
> Anzahl Verbindungsthreads: 4
> Anzahl aktive Sessions: 2]
> Anzahl wartende Ses...>
> 	at org.apache.derbyTesting.functionTests.tests.derbynet.RuntimeInfoTest.x_testRuntimeInfoAfterConnClose(RuntimeInfoTest.java:192)
> 	at org.apache.derbyTesting.functionTests.tests.derbynet.RuntimeInfoTest.testRunTests(RuntimeInfoTest.java:97)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:118)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:440)
> 	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:457)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message