Skip to content

Fix minitest + test break on CI for ruby:head #3147

@thdaraujo

Description

@thdaraujo

test_i18n_reload sometimes fails with:

Failure: test_faker_i18n(TestI18nLoad)
/home/runner/work/faker/faker/test/test_i18n_reload.rb:40:in 'TestI18nLoad#test_faker_i18n'
     37:     cmd = %( ruby -e "#{code}" )
     38:     output, status = Open3.capture2e(cmd)
     39: 
  => 40:     assert_equal 0, status, output
     41:   end
     42: end

<0> expected but was
<#<Process::Status: pid 2232 exit 1>>

Ref.

It's probably an issue with test dependencies while running on CI, as this test also loads a minitest version that needs to match the one on Gemfile.lock.

I think we could just improve the test by using test-unit without any dependencies. And double-check if we still need this test at all.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions