Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
tdas committed Dec 6, 2016
1 parent e3a7422 commit 26a86d6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ class OffsetSeqLogSuite extends SparkFunSuite with SharedSQLContext {
Some(SerializedOffset("0")),
Some(SerializedOffset("""{"topic-0":{"0":1}}"""))
))
assert(offsetSeq.metadata ===
Some("""{"batchWatermarkMs":0,"batchTimestampMs":1480981499528}"""))
assert(offsetSeq.metadata === Some(OffsetSeqMetadata(0L, 1480981499528L)))
}

private def readFromResource(dir: String): (Long, OffsetSeq) = {
Expand Down

0 comments on commit 26a86d6

Please sign in to comment.