You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Eugene Kirpichov (JIRA)" <ji...@apache.org> on 2017/01/10 22:34:58 UTC
[jira] [Commented] (BEAM-1260) PAssert should capture the assertion
site
[ https://issues.apache.org/jira/browse/BEAM-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15816390#comment-15816390 ]
Eugene Kirpichov commented on BEAM-1260:
----------------------------------------
PR https://github.com/apache/beam/pull/1753 does this
> PAssert should capture the assertion site
> -----------------------------------------
>
> Key: BEAM-1260
> URL: https://issues.apache.org/jira/browse/BEAM-1260
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Eugene Kirpichov
> Assignee: Eugene Kirpichov
>
> When a PAssert assertion fails, it doesn't tell where the assertion (PAssert.that(blah)) call was made in code - only when the failure was detected, i.e. somewhere deep in worker code usually.
> It also doesn't allow specifying a message (unlike JUnit).
> This issue is about improving the way PAssert failures are reported.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)