From d09d29b7f301d8eca613dff0e62f658bcee536bc Mon Sep 17 00:00:00 2001 From: Saad Rashid Date: Fri, 21 Feb 2014 15:23:48 +0000 Subject: Added Local Schema and Memory Tap in HBaseSource and JDBCSource to fix the failing unit tests. --- .../spyglass/hbase/example/SimpleHBaseSourceExampleTest.scala | 1 + .../scala/parallelai/spyglass/jdbc/example/JdbcSourceExampleTest.scala | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/test/scala') diff --git a/src/test/scala/parallelai/spyglass/hbase/example/SimpleHBaseSourceExampleTest.scala b/src/test/scala/parallelai/spyglass/hbase/example/SimpleHBaseSourceExampleTest.scala index f25e769..30342da 100644 --- a/src/test/scala/parallelai/spyglass/hbase/example/SimpleHBaseSourceExampleTest.scala +++ b/src/test/scala/parallelai/spyglass/hbase/example/SimpleHBaseSourceExampleTest.scala @@ -48,6 +48,7 @@ class SimpleHBaseSourceExampleTest extends FunSpec with TupleConversions { log.debug("Output => " + outputBuffer) it("should return the test data provided.") { + println("outputBuffer.size => " + outputBuffer.size) assert(outputBuffer.size === 3) } } diff --git a/src/test/scala/parallelai/spyglass/jdbc/example/JdbcSourceExampleTest.scala b/src/test/scala/parallelai/spyglass/jdbc/example/JdbcSourceExampleTest.scala index 98f275d..b268fa1 100644 --- a/src/test/scala/parallelai/spyglass/jdbc/example/JdbcSourceExampleTest.scala +++ b/src/test/scala/parallelai/spyglass/jdbc/example/JdbcSourceExampleTest.scala @@ -24,7 +24,7 @@ class JdbcSourceExampleTest extends FunSpec with TupleConversions { ) JobTest("parallelai.spyglass.jdbc.example.JdbcSourceExample") - .arg("local", "") + .arg("test", "") .arg("app.conf.path", "app.conf") .arg("output", output) .arg("debug", "true") -- cgit v1.2.3