Repository: spark Updated Branches: refs/heads/master 5028a001d -> 726bd3c4e
Fix indentation for the previous patch. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/726bd3c4 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/726bd3c4 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/726bd3c4 Branch: refs/heads/master Commit: 726bd3c4ece33667096f04be4d3e1ea13048a1af Parents: 5028a00 Author: Reynold Xin <[email protected]> Authored: Thu Jan 7 21:15:43 2016 -0800 Committer: Reynold Xin <[email protected]> Committed: Thu Jan 7 21:15:43 2016 -0800 ---------------------------------------------------------------------- .../scala/org/apache/spark/sql/SQLConfSuite.scala | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/726bd3c4/sql/core/src/test/scala/org/apache/spark/sql/SQLConfSuite.scala ---------------------------------------------------------------------- diff --git a/sql/core/src/test/scala/org/apache/spark/sql/SQLConfSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/SQLConfSuite.scala index a2eddc8..cf0701e 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/SQLConfSuite.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/SQLConfSuite.scala @@ -113,22 +113,20 @@ class SQLConfSuite extends QueryTest with SharedSQLContext { // Test overflow exception intercept[IllegalArgumentException] { - // This value exceeds Long.MaxValue - // Utils.byteStringAsBytes("90000000000g") - sqlContext.setConf(SQLConf.SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE.key, "90000000000g") + // This value exceeds Long.MaxValue + sqlContext.setConf(SQLConf.SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE.key, "90000000000g") } intercept[IllegalArgumentException] { - // This value less than Int.MinValue - // Utils.byteStringAsBytes("-90000000000g") + // This value less than Int.MinValue sqlContext.setConf(SQLConf.SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE.key, "-90000000000g") - } + } + // Test invalid input intercept[IllegalArgumentException] { - // This value exceeds Long.MaxValue - // Utils.byteStringAsBytes("-1g") - sqlContext.setConf(SQLConf.SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE.key, "-1g") - } + // This value exceeds Long.MaxValue + sqlContext.setConf(SQLConf.SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE.key, "-1g") + } sqlContext.conf.clear() } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
