diff options
Diffstat (limited to 'lib/spack/spack/test/llnl/util/lock.py')
-rw-r--r-- | lib/spack/spack/test/llnl/util/lock.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/spack/spack/test/llnl/util/lock.py b/lib/spack/spack/test/llnl/util/lock.py index d4b61929c2..928bded6ca 100644 --- a/lib/spack/spack/test/llnl/util/lock.py +++ b/lib/spack/spack/test/llnl/util/lock.py @@ -1,4 +1,4 @@ -# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) @@ -661,10 +661,6 @@ def test_upgrade_read_to_write(private_lock_path): assert lock._file is None -@pytest.mark.skipif( - os.environ.get('SPACK_TEST_SOLVER') == 'clingo', - reason='Test for Clingo are run in a container with root permissions' -) def test_upgrade_read_to_write_fails_with_readonly_file(private_lock_path): """Test that read-only file can be read-locked but not write-locked.""" # ensure lock file exists the first time @@ -1192,7 +1188,7 @@ def test_nested_reads(lock_path): class LockDebugOutput(object): def __init__(self, lock_path): self.lock_path = lock_path - self.host = socket.getfqdn() + self.host = socket.gethostname() def p1(self, barrier, q1, q2): # exchange pids |