Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-1600

Fix false 403/404 GatewayBasicFuncTest failures

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.0
    • Tests
    • None

    Description

      There have been a few cases of the following error:

      org.apache.knox.gateway.GatewayBasicFuncTest.testCLIServiceTest

      Expected: not a string containing "403" but: was "GET https://localhost:40349/gateway/cluster/service-test

       

      The issue is that the check also includes the random port assigned to the gateway. In this case the port 40349 matched 403. We should make this check tighter to prevent false errors.

      Attachments

        1. KNOX-1600.patch
          3 kB
          Kevin Risden

        Activity

          People

            krisden Kevin Risden
            krisden Kevin Risden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: