Skip to content

Commit

Permalink
Silence logs in replication tests
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Aug 13, 2024
1 parent a357ae2 commit 3cbcb14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/replication_connection_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ defmodule ReplicationTest do
describe "auto-reconnect" do
@describetag opts: [auto_reconnect: true]

@tag :capture_log
test "on disconnect", context do
assert_receive {:connect, i1}
:sys.suspend(context.repl)
Expand All @@ -215,6 +216,7 @@ defmodule ReplicationTest do
assert_receive {:connect, i3} when i2 < i3, @timeout
end

@tag :capture_log
test "resumes streaming after reconnect", context do
assert_receive {:connect, i1}
start_replication(context.repl)
Expand Down

0 comments on commit 3cbcb14

Please sign in to comment.