[ 
https://issues.apache.org/jira/browse/KNOX-1600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Risden updated KNOX-1600:
-------------------------------
    Attachment: KNOX-1600.patch

> Fix false 403/404 GatewayBasicFuncTest failures
> -----------------------------------------------
>
>                 Key: KNOX-1600
>                 URL: https://issues.apache.org/jira/browse/KNOX-1600
>             Project: Apache Knox
>          Issue Type: Test
>          Components: Tests
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Minor
>             Fix For: 1.3.0
>
>         Attachments: KNOX-1600.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to