Skip to content

Commit

Permalink
Skip hanging memory leak test
Browse files Browse the repository at this point in the history
  • Loading branch information
sphuber committed Apr 16, 2024
1 parent 1fbbd80 commit 13d400b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/engine/test_memory_leaks.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ def test_leak_run_process():
run_finished_ok(test_processes.DummyProcess, **inputs)


@pytest.mark.skipif(sys.version_info >= (3, 12), reason='Garbage collecting hangs on Python 3.12')
# @pytest.mark.skipif(sys.version_info >= (3, 12), reason='Garbage collecting hangs on Python 3.12')
@pytest.mark.skip(reason='Garbage collecting hangs')
@pytest.mark.usefixtures('aiida_profile', 'check_memory_leaks')
def test_leak_local_calcjob(aiida_code_installed):
"""Test whether running a local CalcJob leaks memory."""
Expand All @@ -64,7 +65,7 @@ def test_leak_local_calcjob(aiida_code_installed):
run_finished_ok(ArithmeticAddCalculation, **inputs)


@pytest.mark.skipif(sys.version_info >= (3, 12), reason='Garbage collecting hangs on Python 3.12')
@pytest.mark.skip(reason='Garbage collecting hangs')
@pytest.mark.usefixtures('aiida_profile', 'check_memory_leaks')
def test_leak_ssh_calcjob(aiida_computer_ssh):
"""Test whether running a CalcJob over SSH leaks memory.
Expand Down

0 comments on commit 13d400b

Please sign in to comment.