Skip to content

Commit

Permalink
fix flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-rychlewski committed Nov 15, 2023
1 parent 96ba95d commit 5c32204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ecto/adapters/sqlite3_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ defmodule Ecto.Adapters.SQLite3ConnTest do
@uuid_regex ~R/^[[:xdigit:]]{8}\b-[[:xdigit:]]{4}\b-[[:xdigit:]]{4}\b-[[:xdigit:]]{4}\b-[[:xdigit:]]{12}$/

setup do
original_binary_id_type = Application.get_env(:ecto_sqlite3, :binary_id_type)
original_binary_id_type = Application.get_env(:ecto_sqlite3, :binary_id_type, :string)

on_exit(fn ->
Application.put_env(:ecto_sqlite3, :binary_id_type, original_binary_id_type)
Expand Down

0 comments on commit 5c32204

Please sign in to comment.