db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4168) testMkdirsInvalidAbsolute(org.apache.derbyTesting.unitTests.junit.VirtualFileTest)junit.framework.AssertionFailedError on Zos
Date Wed, 22 Apr 2009 08:01:53 GMT

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

Kristian Waagan commented on DERBY-4168:
----------------------------------------

The test was there in RC1 as well, but code changes were made between RC1 and RC2.
The test seems to fail only on Zos though. It fails very early on, and this is what should
happen:
 1) Get a DataStore where the file system root exists ('/'?).
 2) Obtain a VirtualFile pointing at '/directory'.
 3) Create the directory '/directory'.

For 3 to succeed, the root has to exist.
VirtualFile.mkdir() can fail for two reasons;
 a) The path already exists.
 b) DataStore is unable to add/create the directory.
    (for several reasons, see DataStore.createEntry)

Note that java.io.File is used.

>  testMkdirsInvalidAbsolute(org.apache.derbyTesting.unitTests.junit.VirtualFileTest)junit.framework.AssertionFailedError
 on Zos
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4168
>                 URL: https://issues.apache.org/jira/browse/DERBY-4168
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.5.1.1
>         Environment: Zos IBM 1.6 pmz3160sr2ifx-20081021_01
>            Reporter: Kathey Marsden
>            Priority: Minor
>
> On Zos with 10.5.1.1 (RC2) and IBM 1.6 pmz3160sr2ifx-20081021_01  I saw this failure.
I did not see it with RC1 with the 64bit jvm.   
> 1) testMkdirsInvalidAbsolute(org.apache.derbyTesting.unitTests.junit.VirtualFileTest)junit.framework.AssertionFailedErro
> r
>         at org.apache.derbyTesting.unitTests.junit.VirtualFileTest.testMkdirsInvalidAbsolute(VirtualFileTest.java:94)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:105)

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


Mime
View raw message