         fake-provider-id (str (:provider-id granule) (:native-id granule))
         non-existent-granule (assoc granule :provider-id fake-provider-id)
         {:keys [status]} (ingest/delete-concept non-existent-granule)]
+    (index/wait-until-indexed)
     (is (= 404 status))))
 
 ;; Verify existing granule can be deleted and operation results in revision id 1 greater than

                                    (string/replace "2010-12-12T12:00:00" "A")
                                    ;; this is to cause validation error for iso-smap format
                                    (string/replace "gmd:DS_Series" "XXXX"))))]
         (= [400 validation-errors] [status errors]))

       :echo10 ["Line 1 - cvc-datatype-valid.1.2.1: 'A.000Z' is not a valid value for 'dateTime'."

    (let [collection (d/ingest "PROV1" (dc/collection {}))
          granule (dg/umm-granule->granule-concept (dg/granule collection))
          {:keys [concept-id revision-id]} (ingest/ingest-concept granule)]
      (index/wait-until-indexed)
      (is (ingest/concept-exists-in-mdb? concept-id revision-id))
      (is (= 1 revision-id)))))

