Stefan Egli created SLING-6993:
----------------------------------

             Summary: [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 Oak 1.2.18
            Reporter: Stefan Egli
            Assignee: Stefan Egli
            Priority: Blocker
             Fix For: 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)

Reply via email to