Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 bb8d7664f -> 97719a8c4


PHOENIX-1877 Spark end2end tests are breaking the build (Josh Mahonin)


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/97719a8c
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/97719a8c
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/97719a8c

Branch: refs/heads/4.x-HBase-0.98
Commit: 97719a8c492125cdc23905cd2bbb72ed88b7b89a
Parents: bb8d766
Author: James Taylor <[email protected]>
Authored: Fri Apr 17 01:31:24 2015 -0700
Committer: James Taylor <[email protected]>
Committed: Fri Apr 17 12:34:04 2015 -0700

----------------------------------------------------------------------
 .../src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala      | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/97719a8c/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
----------------------------------------------------------------------
diff --git 
a/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala 
b/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
index a7598bc..18633d1 100644
--- a/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
+++ b/phoenix-spark/src/it/scala/org/apache/phoenix/spark/PhoenixSparkIT.scala
@@ -74,6 +74,7 @@ class PhoenixSparkIT extends FunSuite with Matchers with 
BeforeAndAfterAll {
     val setupSqlSource = 
getClass.getClassLoader.getResourceAsStream("setup.sql")
 
     val setupSql = scala.io.Source.fromInputStream(setupSqlSource).getLines()
+      .filter(line => ! line.startsWith("--") && ! line.isEmpty)
 
     for (sql <- setupSql) {
       val stmt = conn.createStatement()

Reply via email to