You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "Liu Xun (Jira)" <ji...@apache.org> on 2020/03/17 08:53:00 UTC

[jira] [Resolved] (SUBMARINE-432) [SDK] test_verify_rest_response is flaky in python 3.5

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

Liu Xun resolved SUBMARINE-432.
-------------------------------
    Resolution: Fixed

Issue resolved by pull request 230
[https://github.com/apache/submarine/pull/230]

> [SDK] test_verify_rest_response is flaky in python 3.5
> ------------------------------------------------------
>
>                 Key: SUBMARINE-432
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-432
>             Project: Apache Submarine
>          Issue Type: Bug
>          Components: SDK
>    Affects Versions: 0.4.0
>            Reporter: Kevin Su
>            Assignee: Kevin Su
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 0.4.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Error message:
> {code:java}
> with pytest.raises(RestException, match=str(mock_json_body)):
> > verify_rest_response(mock_response, '/api/v1/jobs')
> E AssertionError: Pattern '{'b': 2, 'c': 3, 'a': 200}' not found in 'None: Response: {'c': 3, 'a': 200, 'b': 2}'{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org