You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kristian Waagan (JIRA)" <ji...@apache.org> on 2007/04/17 14:01:21 UTC

[jira] Created: (DERBY-2555) Remove use of doPrivileged in EncryptionKeyTest

Remove use of doPrivileged in EncryptionKeyTest
-----------------------------------------------

                 Key: DERBY-2555
                 URL: https://issues.apache.org/jira/browse/DERBY-2555
             Project: Derby
          Issue Type: Sub-task
          Components: Test
    Affects Versions: 10.3.0.0
            Reporter: Kristian Waagan
            Priority: Trivial


When converted to JUnit, the test originally wrapped connections used to create/restore databases from a backup image in doPrivileged-calls. This was done to allow the backup images to be read by Derby. It should not be necessary, as the Derby code itself should use doPrivileged-calls in the appropriate places.

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


[jira] Reopened: (DERBY-2555) Remove use of doPrivileged in EncryptionKeyTest

Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kathey Marsden reopened DERBY-2555:
-----------------------------------


I backed out the test change and am reopenning this issue untill tinderbox failures can be resolved.  See DERBY-2556 for details.



> Remove use of doPrivileged in EncryptionKeyTest
> -----------------------------------------------
>
>                 Key: DERBY-2555
>                 URL: https://issues.apache.org/jira/browse/DERBY-2555
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.3.0.0
>            Reporter: Kristian Waagan
>         Assigned To: Kristian Waagan
>            Priority: Trivial
>         Attachments: derby-2555-1a.diff
>
>
> When converted to JUnit, the test originally wrapped connections used to create/restore databases from a backup image in doPrivileged-calls. This was done to allow the backup images to be read by Derby. It should not be necessary, as the Derby code itself should use doPrivileged-calls in the appropriate places.

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


[jira] Resolved: (DERBY-2555) Remove use of doPrivileged in EncryptionKeyTest

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan resolved DERBY-2555.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.3.0.0

Committed again with revision 538138.
Will wait for a tinderbox/nightly to confirm the fix before the issue is closed.

> Remove use of doPrivileged in EncryptionKeyTest
> -----------------------------------------------
>
>                 Key: DERBY-2555
>                 URL: https://issues.apache.org/jira/browse/DERBY-2555
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.3.0.0
>            Reporter: Kristian Waagan
>         Assigned To: Kristian Waagan
>            Priority: Trivial
>             Fix For: 10.3.0.0
>
>         Attachments: derby-2555-1a.diff
>
>
> When converted to JUnit, the test originally wrapped connections used to create/restore databases from a backup image in doPrivileged-calls. This was done to allow the backup images to be read by Derby. It should not be necessary, as the Derby code itself should use doPrivileged-calls in the appropriate places.

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


[jira] Resolved: (DERBY-2555) Remove use of doPrivileged in EncryptionKeyTest

Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kathey Marsden resolved DERBY-2555.
-----------------------------------

    Resolution: Fixed

committed  revision 536682

> Remove use of doPrivileged in EncryptionKeyTest
> -----------------------------------------------
>
>                 Key: DERBY-2555
>                 URL: https://issues.apache.org/jira/browse/DERBY-2555
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.3.0.0
>            Reporter: Kristian Waagan
>         Assigned To: Kristian Waagan
>            Priority: Trivial
>         Attachments: derby-2555-1a.diff
>
>
> When converted to JUnit, the test originally wrapped connections used to create/restore databases from a backup image in doPrivileged-calls. This was done to allow the backup images to be read by Derby. It should not be necessary, as the Derby code itself should use doPrivileged-calls in the appropriate places.

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


[jira] Closed: (DERBY-2555) Remove use of doPrivileged in EncryptionKeyTest

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan closed DERBY-2555.
----------------------------------


> Remove use of doPrivileged in EncryptionKeyTest
> -----------------------------------------------
>
>                 Key: DERBY-2555
>                 URL: https://issues.apache.org/jira/browse/DERBY-2555
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.3.0.0
>            Reporter: Kristian Waagan
>         Assigned To: Kristian Waagan
>            Priority: Trivial
>             Fix For: 10.3.0.0
>
>         Attachments: derby-2555-1a.diff
>
>
> When converted to JUnit, the test originally wrapped connections used to create/restore databases from a backup image in doPrivileged-calls. This was done to allow the backup images to be read by Derby. It should not be necessary, as the Derby code itself should use doPrivileged-calls in the appropriate places.

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


[jira] Assigned: (DERBY-2555) Remove use of doPrivileged in EncryptionKeyTest

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan reassigned DERBY-2555:
--------------------------------------

    Assignee: Kristian Waagan

> Remove use of doPrivileged in EncryptionKeyTest
> -----------------------------------------------
>
>                 Key: DERBY-2555
>                 URL: https://issues.apache.org/jira/browse/DERBY-2555
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.3.0.0
>            Reporter: Kristian Waagan
>         Assigned To: Kristian Waagan
>            Priority: Trivial
>         Attachments: derby-2555-1a.diff
>
>
> When converted to JUnit, the test originally wrapped connections used to create/restore databases from a backup image in doPrivileged-calls. This was done to allow the backup images to be read by Derby. It should not be necessary, as the Derby code itself should use doPrivileged-calls in the appropriate places.

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


[jira] Updated: (DERBY-2555) Remove use of doPrivileged in EncryptionKeyTest

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan updated DERBY-2555:
-----------------------------------

    Attachment: derby-2555-1a.diff

Attaching a patch that removed the doPrivileged-blocks from the test.
If I apply this patch and run tests.store._Suite (which currently run all the three encryption key tests), I get 9 errors (three per algorithm); testInvalidRestoreFrom, testRestoreFrom and testCreateDbFromBackup.

The patch cannot be committed before DERBY-2556 has been resolved.

> Remove use of doPrivileged in EncryptionKeyTest
> -----------------------------------------------
>
>                 Key: DERBY-2555
>                 URL: https://issues.apache.org/jira/browse/DERBY-2555
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.3.0.0
>            Reporter: Kristian Waagan
>            Priority: Trivial
>         Attachments: derby-2555-1a.diff
>
>
> When converted to JUnit, the test originally wrapped connections used to create/restore databases from a backup image in doPrivileged-calls. This was done to allow the backup images to be read by Derby. It should not be necessary, as the Derby code itself should use doPrivileged-calls in the appropriate places.

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