Skip to content

Commit

Permalink
spec not working
Browse files Browse the repository at this point in the history
  • Loading branch information
kickster97 committed Sep 28, 2023
1 parent be123d4 commit f70dfd6
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions spec/replication_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,4 @@ describe LavinMQ::Replication::Client do
server.close
end
end

it "should not publish when connected followers drop below the specified minimum" do
repli = LavinMQ::Replication::Client.new(data_dir)
LavinMQ::Config.instance.min_followers = 1
with_channel do |ch|
q = ch.queue("repli")
spawn do
q.publish "hello world"
end
q.get.should be_nil
spawn do
repli.follow("127.0.0.1", LavinMQ::Config.instance.replication_port)
end
q.get.should_not be_nil
end
end
end

0 comments on commit f70dfd6

Please sign in to comment.