fix tests with async true
This commit is contained in:
parent
b6bc182510
commit
def399122c
2 changed files with 4 additions and 2 deletions
|
|
@ -10,7 +10,8 @@ defmodule MvWeb.MemberLive.IndexFieldVisibilityTest do
|
||||||
- Integration with member list display
|
- Integration with member list display
|
||||||
- Custom fields visibility
|
- Custom fields visibility
|
||||||
"""
|
"""
|
||||||
use MvWeb.ConnCase, async: true
|
# async: false to prevent PostgreSQL deadlocks when creating members and custom fields
|
||||||
|
use MvWeb.ConnCase, async: false
|
||||||
|
|
||||||
import Phoenix.LiveViewTest
|
import Phoenix.LiveViewTest
|
||||||
require Ash.Query
|
require Ash.Query
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
defmodule MvWeb.UserLive.FormTest do
|
defmodule MvWeb.UserLive.FormTest do
|
||||||
use MvWeb.ConnCase, async: true
|
# async: false to prevent PostgreSQL deadlocks when creating members and users
|
||||||
|
use MvWeb.ConnCase, async: false
|
||||||
import Phoenix.LiveViewTest
|
import Phoenix.LiveViewTest
|
||||||
|
|
||||||
# Helper to setup authenticated connection and live view
|
# Helper to setup authenticated connection and live view
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue