Skip to content

Commit

Permalink
Use enough events to cause query timeout in appender test
Browse files Browse the repository at this point in the history
  • Loading branch information
slashdotdash committed Jan 9, 2024
1 parent 5d8b366 commit b03638d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/storage/append_events_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ defmodule EventStore.Storage.AppendEventsTest do
end

test "append single event with a db connection error", %{conn: conn, schema: schema} do
recorded_events = EventFactory.create_recorded_events(1, UUID.uuid4())
recorded_events = EventFactory.create_recorded_events(100, UUID.uuid4())

# Using Postgrex query timeout value of zero will cause a `DBConnection.ConnectionError` error
# to be returned.
Expand Down

0 comments on commit b03638d

Please sign in to comment.