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

Dominique Jäggi updated OAK-4302:
---------------------------------
    Fix Version/s: 1.2.19

> DefaultSyncContextTest contains duplicate test
> ----------------------------------------------
>
>                 Key: OAK-4302
>                 URL: https://issues.apache.org/jira/browse/OAK-4302
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: auth-external
>            Reporter: Francesco Mari
>            Assignee: angela
>            Priority: Trivial
>             Fix For: 1.5.2, 1.4.7, 1.2.19
>
>
> Some test methods in {{DefaultSyncContextTests}} are the same when compared 
> line-by-line:
> * {{testCreateValueFromBytesArray}}, {{testCreateValueFromBinary}} and 
> {{testCreateValueFromInputStream}};
> * {{testGetIdentityRefSyncGroup}} and {{testGetIdentityRefSyncUser}}.
> If these methods are actually testing different things because of a lucky 
> state of the instance variable and an even luckier running order, they should 
> be reworked to be independent. Otherwise, some of them should be removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to