Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 8f43d79

Browse files
committed
fix: thread document test adjust
1 parent f05776a commit 8f43d79

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/groupher_server_web/query/cms/paged_articles/paged_blogs_test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ defmodule GroupherServer.Test.Query.PagedArticles.PagedBlogs do
8080
{:ok, user} = db_insert(:user)
8181
{:ok, community} = db_insert(:community)
8282
blog_attrs = mock_attrs(:blog, %{community_id: community.id})
83-
Process.sleep(1000)
83+
Process.sleep(2000)
8484
{:ok, _blog} = CMS.create_article(community, :blog, blog_attrs, user)
8585

8686
variables = %{filter: %{page: 1, size: 30}}

test/groupher_server_web/query/cms/paged_articles/paged_jobs_test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ defmodule GroupherServer.Test.Query.PagedArticles.PagedJobs do
8080
{:ok, user} = db_insert(:user)
8181
{:ok, community} = db_insert(:community)
8282
job_attrs = mock_attrs(:job, %{community_id: community.id})
83-
Process.sleep(1000)
83+
Process.sleep(2000)
8484
{:ok, _job} = CMS.create_article(community, :job, job_attrs, user)
8585

8686
variables = %{filter: %{page: 1, size: 30}}

test/groupher_server_web/query/cms/paged_articles/paged_posts_test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ defmodule GroupherServer.Test.Query.PagedArticles.PagedPosts do
8181
{:ok, user} = db_insert(:user)
8282
{:ok, community} = db_insert(:community)
8383
post_attrs = mock_attrs(:post, %{community_id: community.id})
84-
Process.sleep(1000)
84+
Process.sleep(2000)
8585
{:ok, _post} = CMS.create_article(community, :post, post_attrs, user)
8686

8787
variables = %{filter: %{page: 1, size: 10}}

0 commit comments

Comments
 (0)