Skip to content

Commit a5bd445

Browse files
author
Brennon York
committed
reverted license, changed test in shuffle to fail
1 parent 803143a commit a5bd445

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

core/src/main/scala/org/apache/spark/SparkContext.scala

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one or more
3+
* contributor license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright ownership.
5+
* The ASF licenses this file to You under the Apache License, Version 2.0
6+
* (the "License"); you may not use this file except in compliance with
7+
* the License. You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
118
package org.apache.spark
219

320
import scala.language.implicitConversions

core/src/test/scala/org/apache/spark/ShuffleSuite.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ abstract class ShuffleSuite extends FunSuite with Matchers with LocalSparkContex
8484
NonJavaSerializableClass,
8585
NonJavaSerializableClass](b, new HashPartitioner(3))
8686
c.setSerializer(new KryoSerializer(conf))
87-
assert(c.count === 10)
87+
// assert(c.count === 10)
88+
assert(c.count === 42)
8889
}
8990

9091
test("zero sized blocks") {

0 commit comments

Comments
 (0)