[
https://issues.apache.org/jira/browse/KNOX-1600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16685477#comment-16685477
]
ASF subversion and git services commented on KNOX-1600:
-------------------------------------------------------
Commit fbd39232ad3a1fe3ec58fafbc37d97293a35a98b in knox's branch
refs/heads/master from [~risdenk]
[ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=fbd3923 ]
KNOX-1600 - Fix false 403/404 GatewayBasicFuncTest failures
Signed-off-by: Kevin Risden <[email protected]>
> 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)