Skip to content

Commit

Permalink
Merge branch 'master' into branch-0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed May 23, 2013
2 parents d67309f + 99d2dd8 commit a07c000
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/test/java/shark/JavaAPISuite.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public static void oneTimeSetUp() {
@AfterClass
public static void oneTimeTearDown() {
sc.stop();
System.clearProperty("spark.driver.port");
}

@Test
Expand Down
1 change: 1 addition & 0 deletions src/test/scala/shark/SQLSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class SQLSuite extends FunSuite with BeforeAndAfterAll {

override def afterAll() {
sc.stop()
System.clearProperty("spark.driver.port")
}

private def expect(sql: String, expectedResults: Array[String]) {
Expand Down
1 change: 1 addition & 0 deletions src/test/scala/shark/SortSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ class SortSuite extends FunSuite {
assert(output == expected.take(math.min(k, 4)))
}
sc.stop()
System.clearProperty("spark.driver.port")
}
}

0 comments on commit a07c000

Please sign in to comment.