 
 (use-fixtures :each (ingest/reset-fixture "CMR_PROV1" "CMR_PROV2"))
 
+#_(search/find-refs :collection {"updated_since[]" "2014-05-07T14:30:33Z,2014-05-07T14:30:34Z"})
 
 (deftest search-colls-by-revision-date
   (let [chkpt1-tz (f/unparse (f/formatters :date-time-no-ms) (t/now))

        (is (d/refs-match? [coll5 coll6] references))))
    (testing "search for collections ingested into system after chkpt3"
      (let [references (search/find-refs :collection {"updated_since[]" chkpt3-tz})]
        (is (d/refs-match? [] references))))))

(deftest search-grans-by-revision-date
  (let [chkpt1-tz (f/unparse (f/formatters :date-time-no-ms) (t/now))


        chkpt3-tz (f/unparse (f/formatters :date-time-no-ms) (t/now))]
    (index/flush-elastic-index)
    (testing "search for collections ingested into system after chkpt1 - as single value str"
      (let [references (search/find-refs :collection {"updated_since" chkpt1-tz})]
        (is (d/refs-match? [coll1 coll2 coll3 coll4 coll5 coll6] references))))
    (testing "search for collections ingested into system after chkpt1"
      (let [references (search/find-refs :collection {"updated_since[]" chkpt1-tz})]
        (is (d/refs-match? [coll1 coll2 coll3 coll4 coll5 coll6] references))))
