beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aviem Zur (JIRA)" <>
Subject [jira] [Assigned] (BEAM-1763) TestPipeline should ensure that all assertions succeeded
Date Tue, 18 Apr 2017 17:59:41 GMT


Aviem Zur reassigned BEAM-1763:

    Assignee: Aviem Zur

> TestPipeline should ensure that all assertions succeeded
> --------------------------------------------------------
>                 Key: BEAM-1763
>                 URL:
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-java-core
>            Reporter: Thomas Groh
>            Assignee: Aviem Zur
> This doesn't need to be part of each {{PipelineRunner}} implementation if it goes through
the {{PipelineResult}} APIs. The assertion can be of the form that if the Pipeline is finished,
then the number of successful assertions is equal to the total number of assertions.
> Suggested solution:
> For runners which support metrics, use the counters for successful/failed assertions
and compare them to expected number of assertions.
> For runners which do not support metrics consider implementing a fallback solution:
> {{PAssert}} will write to temp files, which will be placed in the test's {{tempLocation}}
({{file}} in local mode, {{gs/hdfs}} in cluster mode). These temp files' names will include
a UUID generated for each test, this UUID will be accessible to {{PAssert}} or the text sink.
> Successful assertion count and failed assertion count + exceptions will be written to
text files which will then be accessible to {{TestPipeline}} to assert on.

This message was sent by Atlassian JIRA

View raw message