mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-11-27 00:03:01 -05:00
tests: disable auto-compaction for mimemagic-related tests
mimemagic seems to corrupt memory under auto-compaction, so disabling it until it's fixed. https://github.com/mimemagicrb/mimemagic/issues/166
This commit is contained in:
parent
84a4e2109c
commit
1fd9cbc83e
@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
GC.auto_compact = true if GC.respond_to?(:auto_compact=)
|
||||
GC.auto_compact = true if !defined?(MimeMagic) && GC.respond_to?(:auto_compact=) # https://github.com/mimemagicrb/mimemagic/issues/166
|
||||
|
||||
if ENV.key?("CI")
|
||||
require "simplecov"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user