Uploaded image for project: 'RAML Module Builder'
  1. RAML Module Builder
  2. RMB-811

HttpClientFactory mock can never be unset

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: TBD
    • Resolution: Won't Do
    • Affects Version/s: 32.2.0
    • Fix Version/s: None
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      CP: R1 2022 roadmap
    • Development Team:
      Core: Platform

      Description

      If a verticle a started with mocking.. Then basically that mocking is sticky.. Even between test.

       static {
          if(System.getProperty(HttpClientMock2.MOCK_MODE) != null ){
            mock = true;
          }
        }
      

      The mock should NOT be sticky like this and the mocking should be done per Verticle, not globally.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                adam Adam Dickmeiss
                Reporter:
                adam Adam Dickmeiss
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases