From 726bd3c4ece33667096f04be4d3e1ea13048a1af Mon Sep 17 00:00:00 2001 From: Reynold Xin Date: Thu, 7 Jan 2016 21:15:43 -0800 Subject: Fix indentation for the previous patch. --- .../test/scala/org/apache/spark/sql/SQLConfSuite.scala | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) 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 a2eddc8fe1..cf0701eca2 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() } } -- cgit v1.2.3