db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Matrigali (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DERBY-2616) intermittent network startup related errors in running junit nightly test suite
Date Sat, 05 May 2007 23:26:15 GMT

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

Mike Matrigali resolved DERBY-2616.

       Resolution: Fixed
    Fix Version/s:

535572 checkin fixes this problem for my test running.

Increase the maximum wait time for tests that start the server.  On my
windows XP system I would get intermittent failures at the old 60 second
max.  I believe the issue is turnaround time on the port, rather than a
specific startup issue in the code.  Setting the max to 300 seconds allowed
me to pass a complete nightly test and also passed a reiterated test 30 times
that would previously fail every time at the 60 second level.

> intermittent network startup related errors in running junit nightly test suite
> -------------------------------------------------------------------------------
>                 Key: DERBY-2616
>                 URL: https://issues.apache.org/jira/browse/DERBY-2616
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions:
>         Environment: m1_ibm15:220>sysinfo
> ------------------ Java Information ------------------
> Java Version:    1.5.0
> Java Vendor:     IBM Corporation
> Java home:       c:\p4\m1\ibm15\jre
> Java classpath:  c:/p4/m1/classes;c:/p4/m1/tools/java/jdbctests.zip;c:/p4/m1/too
> ls/java/jakarta-oro-2.0.8.jar;c:/p4/m1/tools/java/jgl3.1.0.jar;c:/p4/m1/tools/ja
> va/jndi/providerutil.jar;c:/p4/m1/tools/java/jndi/ldap.jar;c:/p4/m1/tools/java/j
> ndi/jndi.jar;c:/p4/m1/tools/java/jnl1.0F.zip;c:/p4/m1/tools/java/junit.jar;c:/p4
> /m1/tools/java/servlet-2_2b.jar;c:/p4/m1/tools/java/xslt4j-2_5_0/xercesImpl.jar;
> c:/p4/m1/tools/java/xslt4j-2_5_0/xml-apis.jar;c:/p4/m1/tools/java/xslt4j-2_5_0/x
> alan.jar
> OS name:         Windows XP
> OS architecture: x86
> OS version:      5.1 build 2600 Service Pack 2
> Java user name:  mikem
> Java user home:  C:\Documents and Settings\Administrator
> Java user dir:   C:\mikem\_tools
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.5
> --------- Derby Information --------
>            Reporter: Mike Matrigali
>         Assigned To: Mike Matrigali
>             Fix For:
> I intermitently get network startup related errors in running the nightly full test suite
on my laptop, running XP, with a firewall and a VPN - I am not sure what if any of those environmental
factors is causing it.  I have been mostly ignoring the errors as it seemed like it usually
was only one test.  I my latest run it was more like 7 or 8.  I'll append exact tests as a
comment on this issue.
> To debug the problem I picked one -     org.apache.derbyTesting.functionTests.tests.derbynet.NSSecurityMechanismTest

> and ran it in a loop.  When I did this it failed everytime after the first one (and the
first one  intermittently failed).  When I bumped the  WAIT_TIME  up to 300000  and the SLEEP_TIME
to 500 in
> java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java  then the test
passed everytime .  In 30 runs the
> entire test took  varying times from 2 minutes to 6 minutes, mostly in the 4 minute range.

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

View raw message