Explorar o código

allow flush to complete in acceptance test

Brian Gough %!s(int64=7) %!d(string=hai) anos
pai
achega
0f0682df43

+ 1 - 1
services/document-updater/test/acceptance/coffee/DeletingAProjectTests.coffee

@@ -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