[
https://issues.apache.org/jira/browse/DERBY-3101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532302
]
Myrna van Lunteren commented on DERBY-3101:
-------------------------------------------
I just spent some time investigating a (seemingly?) similar problem on zseries
with the last test (NSSecurityMechanismTest). The others passed on zseries.
I finally concluded that it was the shutdown with some of the mechanisms that
took a little more time. Looking at the derby.log I could see a series of
messages that led indicated the server was already(still) up when the next
start was issued. I added a short Thread.sleep after the shutdown instruction
and the test passed with that.
Can you see if this could be the cause of trouble for the iseries test run
also? (at least for NSSecurityMechanismTest).
> Some of the derbynet tests fails with Timed out waiting for network server to
> start on Zos machine
> --------------------------------------------------------------------------------------------------
>
> Key: DERBY-3101
> URL: https://issues.apache.org/jira/browse/DERBY-3101
> Project: Derby
> Issue Type: Bug
> Affects Versions: 10.3.1.4
> Environment: Zos, with ibm15
> Reporter: Manjula Kutty
> Fix For: 10.3.2.0
>
>
> 1)
> testDatabasesShutDownWhenNSShutdownAPI(org.apache.derbyTesting.functionTests.tests.derbynet.ShutDownDBWhenNSShutsDownTest)junit.framework.AssertionFailedError:
> Timed out waiting for network server to start
> at
> org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForServerStart(NetworkServerTestSetup.java:358)
> at
> org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerTestSetup.java:128)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
> 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)
> 2) BadConnectionjunit.framework.AssertionFailedError: Timed out waiting for
> network server to start
> at
> org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForServerStart(NetworkServerTestSetup.java:358)
> at
> org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerTestSetup.java:128)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
> 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)
> 3)NSSecurityMechanismTestjunit.framework.AssertionFailedError: Timed out
> waiting for network server to start
> at
> org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForServerStart(NetworkServerTestSetup.java:358)
> at
> org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerTestSetup.java:128)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.