File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
sql/core/src/test/scala/org/apache/spark/sql Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -113,22 +113,20 @@ class SQLConfSuite extends QueryTest with SharedSQLContext {
113113
114114 // Test overflow exception
115115 intercept[IllegalArgumentException ] {
116- // This value exceeds Long.MaxValue
117- // Utils.byteStringAsBytes("90000000000g")
118- sqlContext.setConf(SQLConf .SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE .key, " 90000000000g" )
116+ // This value exceeds Long.MaxValue
117+ sqlContext.setConf(SQLConf .SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE .key, " 90000000000g" )
119118 }
120119
121120 intercept[IllegalArgumentException ] {
122- // This value less than Int.MinValue
123- // Utils.byteStringAsBytes("-90000000000g")
121+ // This value less than Int.MinValue
124122 sqlContext.setConf(SQLConf .SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE .key, " -90000000000g" )
125- }
123+ }
124+
126125 // Test invalid input
127126 intercept[IllegalArgumentException ] {
128- // This value exceeds Long.MaxValue
129- // Utils.byteStringAsBytes("-1g")
130- sqlContext.setConf(SQLConf .SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE .key, " -1g" )
131- }
127+ // This value exceeds Long.MaxValue
128+ sqlContext.setConf(SQLConf .SHUFFLE_TARGET_POSTSHUFFLE_INPUT_SIZE .key, " -1g" )
129+ }
132130 sqlContext.conf.clear()
133131 }
134132}
You can’t perform that action at this time.
0 commit comments