You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2017/07/03 14:42:00 UTC

[jira] [Updated] (SLING-6993) [discovery] switch to johnson fails (slow) tests

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

Stefan Egli updated SLING-6993:
-------------------------------
    Affects Version/s: Discovery Base 1.1.6
        Fix Version/s: Discovery Base 2.0.2

The actual bug is in discovery.base 1.1.8, where commons.json was replaced with commons.johnzon in [1789117|https://svn.apache.org/viewvc?view=revision&revision=1789117]

> [discovery] switch to johnson fails (slow) tests
> ------------------------------------------------
>
>                 Key: SLING-6993
>                 URL: https://issues.apache.org/jira/browse/SLING-6993
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Discovery Base 1.1.6, Discovery Oak 1.2.18
>            Reporter: Stefan Egli
>            Assignee: Stefan Egli
>            Priority: Blocker
>             Fix For: Discovery Base 2.0.2, Discovery Oak 1.2.20
>
>
> The switch from {{commons.json}} to {{commons.johnzon}} (in [1789120|https://svn.apache.org/viewvc?view=revision&revision=1789120]) caused an unnoticed regression:
> {noformat}Results :
> Tests in error: 
>   OakClusterTest>AbstractClusterTest.testConnectorSwitching4139:388->AbstractClusterTest.pingConnector:967->AbstractClusterTest.createFromAnnouncement:1059 » ClassCast
>   OakClusterTest>AbstractClusterTest.testDuplicateInstance3726:557->AbstractClusterTest.pingConnector:967->AbstractClusterTest.createFromAnnouncement:1059 » ClassCast
> Tests run: 39, Failures: 0, Errors: 2, Skipped: 0{noformat}
> The reason this remained unnoticed was that these tests aren't run by default as they are marked as being {{@Slow}} and will only run when instructed to do so via
> {noformat}
> mvn clean verify -PincludeSlowTests
> {noformat}
> /cc [~karlpauls]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)