diff options
author | Bryan Newbold <bnewbold@archive.org> | 2018-07-19 16:56:51 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2018-07-24 11:27:45 -0700 |
commit | 92650c4663bba7d8d9914e2bc120a4b923a7a94b (patch) | |
tree | dea85e5c62a4213881931631662d6900f41c89e3 /scalding/src/test | |
parent | f6c88b66cea8919fe8a0a438e60841ad682aa71d (diff) | |
download | sandcrawler-92650c4663bba7d8d9914e2bc120a4b923a7a94b.tar.gz sandcrawler-92650c4663bba7d8d9914e2bc120a4b923a7a94b.zip |
fix CdxBackfillJob tests
Diffstat (limited to 'scalding/src/test')
-rw-r--r-- | scalding/src/test/scala/sandcrawler/CdxBackfillJob.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scalding/src/test/scala/sandcrawler/CdxBackfillJob.scala b/scalding/src/test/scala/sandcrawler/CdxBackfillJob.scala index fb5b162..a6107fc 100644 --- a/scalding/src/test/scala/sandcrawler/CdxBackfillJob.scala +++ b/scalding/src/test/scala/sandcrawler/CdxBackfillJob.scala @@ -65,7 +65,7 @@ class CdxBackfillTest extends FlatSpec with Matchers { assert(obj("f") == "CITESEERX-CRAWL-2017-06-20-20170705062052659-00043-31209~wbgrp-svc284.us.archive.org~8443.warc.gz") assert(obj("c") == 854156) assert(obj("o") == 328850624) - assert(obj("d") == "2017-08-28T23:31:54Z") + assert(obj("d") == "2017-07-05T06:22:02Z") } case other => assert(false) } @@ -80,7 +80,7 @@ class CdxBackfillTest extends FlatSpec with Matchers { } case other => assert(false) } - assert(row._3 == "application/pdf") + assert(row._4 == "application/pdf") } } |