         delete-result (ingest/delete-concept granule)
         ingest-revision-id (:revision-id ingest-result)
         delete-revision-id (:revision-id delete-result)]
+    (index/wait-until-indexed)
     (is (= 1 (- delete-revision-id ingest-revision-id)))))
 
 ;; Verify ingest is successful for request with content type that has parameters

                                           dissoc :short-name :version-id))
        gran2 (d/ingest "PROV1" (update-in (dg/granule new-coll) [:collection-ref]
                                           dissoc :entry-title))]

    ;; Make sure the granules reference the correct collection
    (is (= (:concept-id new-coll)
           (get-in (ingest/get-concept (:concept-id gran1) (:revision-id gran1))

                  (assoc (dg/granule collection)
                         :format "application/echo10+xml; charset=utf-8"))
        {:keys [status errors]} (ingest/ingest-concept granule)]
    (index/wait-until-indexed)
    (is (= 200 status))))

;; Verify ingest behaves properly if request is missing content type.
