Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6993

[discovery] switch to johnson fails (slow) tests

    XMLWordPrintableJSON

Details

    Description

      The switch from commons.json to commons.johnzon (in 1789120) caused an unnoticed regression:

      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

      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

      mvn clean verify -PincludeSlowTests
      

      /cc karlpauls

      Attachments

        Issue Links

          Activity

            People

              stefanegli Stefan Egli
              stefanegli Stefan Egli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: