Project

General

Profile

Actions

Bug #18614

closed

Error (busy loop) in TestGemCommandsSetupCommand#test_destdir_flag_does_not_try_to_write_to_the_default_gem_home

Added by duerst (Martin Dürst) about 2 years ago. Updated about 1 year ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 3.1.0dev (2021-06-03T06:59:33Z master 7e14762159) [x86_64-linux]
[ruby-core:107791]

Description

When running make check, I get a busy loop in
TestGemCommandsSetupCommand#test_destdir_flag_does_not_try_to_write_to_the_default_gem_home
every time I try. When excluding this test
(by changing the method name to _test_destdir_flag_does_not_try_to_write_to_the_default_gem_home),
things work as usual (17 errors related to TestNetHTTPS/TestNetHTTPLocalBind).
The relevant file is test/rubygems/test_gem_commands_setup_command.rb. When running only that file,
I get two failures and two errors. One of the errors says

TestGemCommandsSetupCommand#test_destdir_flag_does_not_try_to_write_to_th
  1) Error:
TestGemCommandsSetupCommand#test_destdir_flag_does_not_try_to_write_to_the_default_gem_home:
Gem::FilePermissionError: You don't have write permissions for the /home/duerst/14ruby/tmp/test_rubygems_20220308-18434-8gq4j4/gemhome/plugins directory.

This is on Windows 10/WSL/Ubuntu 20.04.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0