Skip to content

Commit 5126704

Browse files
committed
Remove capture log from test as it is too new
1 parent 90eb10d commit 5126704

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

test/exqlite/integration_test.exs

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
defmodule Exqlite.IntegrationTest do
22
use ExUnit.Case
33

4-
import ExUnit.CaptureLog
5-
64
alias Exqlite.Connection
75
alias Exqlite.Sqlite3
86
alias Exqlite.Query
@@ -195,15 +193,8 @@ defmodule Exqlite.IntegrationTest do
195193

196194
{:ok, _, _} = DBConnection.execute(conn, query, [])
197195

198-
# Don't want to muddy the test output
199-
{_, log} =
200-
with_log(fn ->
201-
query = %Query{statement: "select * from foo"}
202-
{:ok, _, _} = DBConnection.execute(conn, query, [], timeout: 1)
203-
end)
204-
205-
# We want to ensure the timeout is logged
206-
assert log =~ "timed out"
196+
query = %Query{statement: "select * from foo"}
197+
{:ok, _, _} = DBConnection.execute(conn, query, [], timeout: 1)
207198

208199
File.rm(path)
209200
end

0 commit comments

Comments
 (0)