Repository: phoenix
Updated Branches:
  refs/heads/master e4f5cc627 -> 38feb452c


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/38feb452
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/38feb452
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/38feb452

Branch: refs/heads/master
Commit: 38feb452c88e12d686db2ec7e8d4d36bc38e21e6
Parents: e4f5cc6
Author: James Taylor <[email protected]>
Authored: Fri Apr 17 01:31:24 2015 -0700
Committer: James Taylor <[email protected]>
Committed: Fri Apr 17 01:33:58 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/38feb452/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 db99f65..42e8676 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