You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Concurrent calls to enttest.Open() (which you might encounter when parallelizing test runs via t.Parallel()) encounter a data race in the lazy/unsychronized initialization of t.columns in func (m *Migrate) setupTable(t *Table) {.
The text was updated successfully, but these errors were encountered:
Hey @tmc and thanks for reporting this. I can work around this by either adding a lock to the migration or copying the tables. I think the latter is preferred but requires more work.
Concurrent calls to
enttest.Open()
(which you might encounter when parallelizing test runs viat.Parallel()
) encounter a data race in the lazy/unsychronized initialization of t.columns infunc (m *Migrate) setupTable(t *Table) {
.The text was updated successfully, but these errors were encountered: