Skip to content

Commit 3c2a847

Browse files
committed
Add some sleeps to see if it fixes semaphore
1 parent 60935eb commit 3c2a847

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/integration/posts_test.exs

+2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ defmodule Integration.PostsTest do
2626
test "new posts are injected onto the page" do
2727
navigate_to "http://localhost:4001/"
2828
this_post = %Post{ @post | content: "this post"}
29+
:timer.sleep 500
2930
ImageTweetStreamer.store_post(this_post)
31+
:timer.sleep 500
3032
assert page_source =~ this_post.content
3133
end
3234
end

0 commit comments

Comments
 (0)