DEV: Re-enable minio specs by pre-installing minio binary before test run (#24050)

This fixes a similar issue to 8b3eca0 where an Errno::ETXTBSY error was raised because the minio_runner gem was trying to install the binary across multiple processes in rspec. If we just make sure the latest version is installed before the tests run, this shouldn't happen, since MinioRunner.start will not do any further attempts at installation if the latest version is installed.
This commit is contained in:
Martin Brennan
2023-10-24 12:43:14 +10:00
committed by GitHub
parent 9e4a72945c
commit d5e8bd790b
5 changed files with 13 additions and 5 deletions

View File

@@ -220,6 +220,10 @@ jobs:
if: matrix.build_type == 'system'
run: bin/ember-cli --build
- name: Ensure latest minio binary installed for System Tests
if: matrix.build_type == 'system'
run: bundle exec ruby script/install_minio_binaries.rb
- name: Core System Tests
if: matrix.build_type == 'system' && matrix.target == 'core'
run: RAILS_ENABLE_TEST_LOG=1 RAILS_TEST_LOG_LEVEL=error PARALLEL_TEST_PROCESSORS=4 bin/turbo_rspec --use-runtime-info --profile=50 --verbose --format documentation spec/system