198f2a0b61
This significantly improves performance and reduces memory consumption when parsing XML files. On a test with 124 JUnit files from a CE build, there was about a 4x reduction in processing time. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54068
12 lines
352 B
Ruby
12 lines
352 B
Ruby
require 'bundler/setup'
|
|
|
|
ENV['GITLAB_ENV'] = 'test'
|
|
ENV['IN_MEMORY_APPLICATION_SETTINGS'] = 'true'
|
|
|
|
require_relative '../config/settings'
|
|
require_relative 'support/rspec'
|
|
require 'active_support/all'
|
|
|
|
ActiveSupport::Dependencies.autoload_paths << 'lib'
|
|
ActiveSupport::Dependencies.autoload_paths << 'ee/lib'
|
|
ActiveSupport::XmlMini.backend = 'Nokogiri'
|