diff --git a/test/api_test.exs b/test/api_test.exs index 3a500015..9fa07966 100644 --- a/test/api_test.exs +++ b/test/api_test.exs @@ -21,6 +21,8 @@ defmodule APITest do assert conn.resp_body == "Started!" + Process.sleep(1000) + conn = :get |> conn("/spiders/TestSpider/scheduled-requests", "")