A platform for community discussion. Free, open, simple.
FIX: Slow test (deadlock)
Robin Ward34b2157b8ca5
diff --git a/spec/components/cooked_post_processor_spec.rb b/spec/components/cooked_post_processor_spec.rbindex 938c9c8ed55..4f5e280f699 100644--- a/spec/components/cooked_post_processor_spec.rb+++ b/spec/components/cooked_post_processor_spec.rb@@ -1228,12 +1228,10 @@ describe CookedPostProcessor doendit "works only on new posts" do- SiteSetting.queue_jobs = false-- hidden = Fabricate(:post, topic: topic, hidden: true, raw: "this is the second post after")- small_action = Fabricate(:post, topic: topic, post_type: Post.types[:small_action])-+ Fabricate(:post, topic: topic, hidden: true, raw: "this is the second post after")+ Fabricate(:post, topic: topic, post_type: Post.types[:small_action])reply = PostCreator.create!(topic.user, topic_id: topic.id, raw: raw)+CookedPostProcessor.new(reply).post_processexpect(reply.raw).to eq(raw)