mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +02:00
Fix parallel testing segfaults on M1 macs
This commit is contained in:
parent
ee433ed7c8
commit
38d50fbb1e
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@ ENV["SELF_HOSTING_ENABLED"] = "false"
|
|||
ENV["UPGRADES_ENABLED"] = "false"
|
||||
ENV["RAILS_ENV"] ||= "test"
|
||||
|
||||
# Fixes Segfaults on M1 Macs when running tests in parallel (temporary workaround)
|
||||
# https://github.com/ged/ruby-pg/issues/538#issuecomment-1591629049
|
||||
ENV["PGGSSENCMODE"] = "disable"
|
||||
|
||||
require_relative "../config/environment"
|
||||
require "rails/test_help"
|
||||
require "minitest/mock"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue