Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6864

RawDBReaderTest fails on Windows

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.13.1.0
    • 10.13.1.0
    • Test
    • None
    • Windows 10
      JDK 8u71
      Derby trunk revision 1728254
    • Regression Test Failure

    Description

      RawDBReaderTest fails on Windows with the following output:

      .<assertDirectoryDeleted> attempt 1 left 2 files/dirs behind: 0=extinout\recovery.sql 1=extinout
      <assertDirectoryDeleted> attempt 2 left 2 files/dirs behind: 0=extinout\recovery.sql 1=extinout
      <assertDirectoryDeleted> attempt 3 left 2 files/dirs behind: 0=extinout\recovery.sql 1=extinout
      <assertDirectoryDeleted> attempt 4 left 2 files/dirs behind: 0=extinout\recovery.sql 1=extinout
      F
      Time: 39,498
      There was 1 failure:
      1) RawDBReaderTest:embeddedjunit.framework.AssertionFailedError: Failed to delete 2 files (root=C:\cygwin64\tmp\derbytst\extinout): C:\cygwin64\tmp\derbytst\extinout\recovery.sql (isDir=false, canRead=true, canWrite=true, size=801), C:\cygwin64\tmp\derbytst\extinout (isDir=true, canRead=true, canWrite=true, size=0)
              at org.apache.derbyTesting.junit.BaseTestCase.assertDirectoryDeleted(BaseTestCase.java:1125)
              at org.apache.derbyTesting.junit.DropDatabaseSetup.removeDirectory(DropDatabaseSetup.java:128)
              at org.apache.derbyTesting.junit.DropDatabaseSetup.removeDirectory(DropDatabaseSetup.java:118)
              at org.apache.derbyTesting.junit.SupportFilesSetup.tearDown(SupportFilesSetup.java:130)
              at junit.extensions.TestSetup$1.protect(TestSetup.java:24)
              at junit.extensions.TestSetup.run(TestSetup.java:27)
      
      FAILURES!!!
      Tests run: 1,  Failures: 1,  Errors: 0
      

      Attachments

        1. d6864.diff
          3 kB
          Knut Anders Hatlen
        2. d6864-2.diff
          4 kB
          Knut Anders Hatlen

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            knutanders Knut Anders Hatlen
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment