allow flush to complete in acceptance test

This commit is contained in:
Brian Gough
2019-09-26 16:00:11 +01:00
parent b7f3b848af
commit 0f0682df43
@@ -148,7 +148,7 @@ describe "Deleting a project", ->
# after deleting the project and putting it in the queue, flush the queue
setTimeout () ->
DocUpdaterClient.flushOldProjects (error, res, body) =>
done()
setTimeout done, 1000 # allow time for the flush to complete
, 100
, 200