projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
814a99c
)
tests: remove a useless 1 second sleep
author
rinpatch
<rinpatch@sdf.org>
Sun, 15 Dec 2019 21:51:59 +0000
(
00:51
+0300)
committer
rinpatch
<rinpatch@sdf.org>
Sun, 15 Dec 2019 21:51:59 +0000
(
00:51
+0300)
there is no need to wait for the task to finish, it will be deleted
when the transaction is aborted anyway.
test/web/twitter_api/util_controller_test.exs
patch
|
blob
|
history
diff --git
a/test/web/twitter_api/util_controller_test.exs
b/test/web/twitter_api/util_controller_test.exs
index 734cd221199554898ef40bbec79c0b658a4b139a..43299e147b3f5d9ec67035dda40215fd16457f33 100644
(file)
--- a/
test/web/twitter_api/util_controller_test.exs
+++ b/
test/web/twitter_api/util_controller_test.exs
@@
-898,8
+898,6
@@
defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do
|> post("/api/pleroma/delete_account", %{"password" => "test"})
assert json_response(conn, 200) == %{"status" => "success"}
- # Wait a second for the started task to end
- :timer.sleep(1000)
end
end
end