db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2410) Convert grantRevoke.java to JUnit
Date Fri, 09 Mar 2007 11:08:24 GMT

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

Andrew McIntyre updated DERBY-2410:
-----------------------------------

    Attachment: derby-2410-problem1.diff

Attaching derby-2410-problem1.diff, which includes a junit test, TriggerRollbackProblem, that
demonstrates both issues mentioned in the previous comment:

- the apparent creation of a trigger despite permissions being rolled back

- lock timeouts caused by using a separate connection in the junit test to grant the privileges
vs. asserting them.

See comments in the test TriggerRollbackProblem for further information.

It's late, and I'm sure I've done something nonsensical, so if someone could help me figure
out what I'm doing wrong here, I would appreciate it.

> Convert grantRevoke.java to JUnit
> ---------------------------------
>
>                 Key: DERBY-2410
>                 URL: https://issues.apache.org/jira/browse/DERBY-2410
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 10.3.0.0
>            Reporter: Andrew McIntyre
>         Assigned To: Andrew McIntyre
>             Fix For: 10.3.0.0
>
>         Attachments: derby-2410-pre.diff, derby-2410-pre2.diff, derby-2410-pre3.diff,
derby-2410-problem1.diff
>
>
> Convert grantRevoke.java to JUnit. Also add test cases from grantRevokeDDL and grantRevokeDDL2
SQL tests to the new GrantRevokeTest

-- 
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