From 5c32204ddad5d2f63e99f431cf903417bb43107a Mon Sep 17 00:00:00 2001 From: Greg Rychlewski Date: Wed, 15 Nov 2023 03:38:01 -0500 Subject: [PATCH] fix flaky tests --- test/ecto/adapters/sqlite3_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ecto/adapters/sqlite3_test.exs b/test/ecto/adapters/sqlite3_test.exs index 087eb0c..22edd77 100644 --- a/test/ecto/adapters/sqlite3_test.exs +++ b/test/ecto/adapters/sqlite3_test.exs @@ -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)