Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9901

[Tests] Some config.xml still reference 8983 port for Solr url

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.2, 4.3.0
    • 4.2.0, 4.3.0
    • None
    • None
    • 4.3 M1

      Plugins 08_Web, ContentIO, ODFSync, ODFWeb, UserDirectory defines in their test/environments/config.xml the line :

      <cms.solr.core.url>http://localhost:8983/solr</cms.solr.core.url> 

      If they do not need Solr, putting

      <cms.solr.core.url>http://localhost:${solrPort}/solr</cms.solr.core.url> 

      as in CMS will solve it, even though some tests do not use new framework, as long as they do not effectively need Solr of course.

          [CMS-9901] [Tests] Some config.xml still reference 8983 port for Solr url

          Simon Prieul (Inactive) made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Simon Prieul (Inactive) made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Ready to merge [ 10208 ] New: Resolved [ 5 ]
          Laurence Aumeunier made changes -
          Status Original: Code review OK [ 10206 ] New: Ready to merge [ 10208 ]
          Laurence Aumeunier made changes -
          Status Original: Available for review [ 10005 ] New: Code review OK [ 10206 ]
          Raphaël Franchet made changes -
          Fix Version/s New: 4.2.2 [ 15269 ]
          Fix Version/s Original: 4.2.1 [ 15207 ]
          Simon Prieul (Inactive) made changes -
          Assignee Original: Simon Prieul [ sprieul ]

          I fixed it for userdirectory, but it is the same for odfweb (but the fix will be more hacky as odfweb do not use new framework)

          Simon Prieul (Inactive) added a comment - I fixed it for userdirectory, but it is the same for odfweb (but the fix will be more hacky as odfweb do not use new framework)

          does not work for userdirectory

          at some time, SCCOrgUnitTestCase#testOrgUnitSynchroWithUser tries a manual commit and it does not like the ${solrPort}

          Simon Prieul (Inactive) added a comment - does not work for userdirectory at some time, SCCOrgUnitTestCase#testOrgUnitSynchroWithUser tries a manual commit and it does not like the ${solrPort}
          Simon Prieul (Inactive) made changes -
          Assignee New: Simon Prieul [ sprieul ]
          Simon Prieul (Inactive) made changes -
          Assignee Original: Simon Prieul [ sprieul ]

            Unassigned Unassigned
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: