You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Robert Burke (Jira)" <ji...@apache.org> on 2020/05/06 18:14:00 UTC

[jira] [Resolved] (BEAM-7030) Make it possible to display the full PCollection when passert fails

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

Robert Burke resolved BEAM-7030.
--------------------------------
    Fix Version/s: Not applicable
         Assignee: Paul Fisher
       Resolution: Fixed

I believe this got addressed in BEAM-9731. PAssert now prints the whole PCollections under test, and soon, also sorts it for easier comparison.

> Make it possible to display the full PCollection when passert fails
> -------------------------------------------------------------------
>
>                 Key: BEAM-7030
>                 URL: https://issues.apache.org/jira/browse/BEAM-7030
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-go, testing
>            Reporter: Damien Desfontaines
>            Assignee: Paul Fisher
>            Priority: Major
>             Fix For: Not applicable
>
>
> If I use passert.Equals with two PCollections, and the test fails, the error message only says something like "value _ present, but not expected". This is not very useful — to debug failing tests, I'd like to print both PCollections so I can compare them directly instead.



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