From 3cbcb14c4729d2aada241f862e75a1d2422dbff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Tue, 13 Aug 2024 08:23:26 +0200 Subject: [PATCH] Silence logs in replication tests --- test/replication_connection_test.exs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/replication_connection_test.exs b/test/replication_connection_test.exs index 99c734c2..b5ba7bad 100644 --- a/test/replication_connection_test.exs +++ b/test/replication_connection_test.exs @@ -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) @@ -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)