Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5776 Look at speeding up using SSL with tests.
  3. SOLR-9107

add annotation for more fine grained control of SSL per test-class

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.1, 7.0
    • None
    • None

    Description

      Spinning off this idea from my earlier comment in SOLR-5776...


      At some point in the future, after all this soaks, we should consider increasing the odds of using SSL – perhaps even add a new annotation (or replace @SupressSSL) with a param to help control the odds of using SSL / clientAuth on a per-class basis, ie...

        @UseSSL(false) // same as @SupressSSL
        @UseSSL() //  same as default if no annotation: SolrTestCaseJ4 picks SSL / clientAuth using LuceneTestCase.rarely
        @UseSSL(ssl=0.75,clientAuth=0.25) // fine control of odds of using ssl & clientauth
      

      ...some tests, like TestSSLRandomization should ideally have much higher odds of using SSL then other tests, and if we had an easy way to say "these handful of simple cloud tests should use SSL very frequently" then it wouldn't matter so much if the odds of other really 'expensive' tests only use SSL once in a blue moon.

      Attachments

        1. SOLR-9107.patch
          18 kB
          Chris M. Hostetter
        2. SOLR-9107.patch
          20 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: