You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/08/08 00:48:20 UTC

[jira] [Commented] (SPARK-16940) `checkAnswer` should raise `TestFailedException` for wrong results

    [ https://issues.apache.org/jira/browse/SPARK-16940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15411145#comment-15411145 ] 

Apache Spark commented on SPARK-16940:
--------------------------------------

User 'dongjoon-hyun' has created a pull request for this issue:
https://github.com/apache/spark/pull/14528

> `checkAnswer` should raise `TestFailedException` for wrong results
> ------------------------------------------------------------------
>
>                 Key: SPARK-16940
>                 URL: https://issues.apache.org/jira/browse/SPARK-16940
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Dongjoon Hyun
>            Priority: Minor
>
> This issue fixes the following to make `checkAnswer` raise `TestFailedException` again instead of `java.util.NoSuchElementException: key not found: TZ` in the environments without `TZ` variable. Also, this issue adds `QueryTestSuite` class for testing `QueryTest` itself.
> {code}
> - |Timezone Env: ${sys.env("TZ")}
> + |Timezone Env: ${sys.env.getOrElse("TZ", "")}
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org