From: Alexander Strizhakov Date: Mon, 11 May 2020 12:22:52 +0000 (+0300) Subject: make test fail everytime X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=e0944dee993eec88f678e98de9382af82ca5a77a;p=akkoma make test fail everytime --- diff --git a/test/web/feed/tag_controller_test.exs b/test/web/feed/tag_controller_test.exs index d95aac108..d726300a9 100644 --- a/test/web/feed/tag_controller_test.exs +++ b/test/web/feed/tag_controller_test.exs @@ -82,6 +82,10 @@ defmodule Pleroma.Web.Feed.TagControllerTest do end test "gets a feed (RSS)", %{conn: conn} do + %{microsecond: {micro, _}} = DateTime.utc_now() + micro = (micro / 1000) |> floor() + Process.sleep(950 - micro) + Pleroma.Config.put( [:feed, :post_title], %{max_length: 25, omission: "..."}