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

Hequn Cheng reassigned FLINK-16676:
-----------------------------------

    Assignee: Hequn Cheng

> test_pipeline_from_invalid_json is failing Azure
> ------------------------------------------------
>
>                 Key: FLINK-16676
>                 URL: https://issues.apache.org/jira/browse/FLINK-16676
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Python
>    Affects Versions: 1.11.0
>            Reporter: Piotr Nowojski
>            Assignee: Hequn Cheng
>            Priority: Blocker
>              Labels: test-stability
>             Fix For: 1.11.0
>
>
> Seems like all recent builds are failing:
> https://dev.azure.com/rmetzger/Flink/_build/results?buildId=6376&view=logs&j=9cada3cb-c1d3-5621-16da-0f718fb86602&t=165fcdc0-86f6-5c68-d844-b25f91686149
> https://dev.azure.com/rmetzger/Flink/_build/results?buildId=6375&view=logs&j=9cada3cb-c1d3-5621-16da-0f718fb86602&t=165fcdc0-86f6-5c68-d844-b25f91686149
> https://dev.azure.com/rmetzger/Flink/_build/results?buildId=6372&view=logs&j=9cada3cb-c1d3-5621-16da-0f718fb86602&t=165fcdc0-86f6-5c68-d844-b25f91686149
> {code:java}
> =================================== FAILURES 
> ===================================
> ____________ ValidationPipelineTest.test_pipeline_from_invalid_json 
> ____________
> self = <pyflink.ml.tests.test_pipeline.ValidationPipelineTest 
> testMethod=test_pipeline_from_invalid_json>
>     def test_pipeline_from_invalid_json(self):
>         invalid_json = '[a:aa]'
>     
>         # load json
>         p = Pipeline()
>         with self.assertRaises(RuntimeError) as context:
>             p.load_json(invalid_json)
>         exception_str = str(context.exception)
>     
>         # only assert key error message as the whole message is very long.
>         self.assertTrue(
>             'Cannot load the JSON as either a Java Pipeline or a Python 
> Pipeline.'
>             in exception_str)
>         self.assertTrue(
> {code}



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

Reply via email to