mirror of
https://github.com/discourse/discourse.git
synced 2025-04-19 21:43:46 +08:00
DEV: skip flaky chat specs (#30273)
while we figure out if we want to keep the feature or replace it with a simpler version. Internal ref - t/144221
This commit is contained in:
parent
d0df16535e
commit
bdd4392c01
@ -14,7 +14,7 @@ describe Chat::DuplicateMessageValidator do
|
||||
expect(message_blocked?("test")).to eq(false)
|
||||
end
|
||||
|
||||
it "errors if the message meets the requirements for sensitivity 0.1" do
|
||||
skip "errors if the message meets the requirements for sensitivity 0.1" do
|
||||
SiteSetting.chat_duplicate_message_sensitivity = 0.1
|
||||
|
||||
chat_channel.update!(user_count: 100)
|
||||
@ -34,7 +34,7 @@ describe Chat::DuplicateMessageValidator do
|
||||
expect(message_blocked?(message)).to eq(false)
|
||||
end
|
||||
|
||||
it "errors if the message meets the requirements for sensitivity 0.5" do
|
||||
skip "errors if the message meets the requirements for sensitivity 0.5" do
|
||||
SiteSetting.chat_duplicate_message_sensitivity = 0.5
|
||||
chat_channel.update!(user_count: 57)
|
||||
message = "this is a 21 char msg"
|
||||
@ -53,7 +53,7 @@ describe Chat::DuplicateMessageValidator do
|
||||
expect(message_blocked?(message)).to eq(false)
|
||||
end
|
||||
|
||||
it "errors if the message meets the requirements for sensitivity 1.0" do
|
||||
skip "errors if the message meets the requirements for sensitivity 1.0" do
|
||||
SiteSetting.chat_duplicate_message_sensitivity = 1.0
|
||||
chat_channel.update!(user_count: 5)
|
||||
message = "10 char msg"
|
||||
|
Loading…
x
Reference in New Issue
Block a user