Skip to content

Commit

Permalink
Removing more serial test markings
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejbrown committed Sep 25, 2024
1 parent 9e9f975 commit 51eef7a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/test_caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def setup_cache_test_files(
return test_files


@pytest.mark.serial
# @pytest.mark.serial
def test_restore_cache_basic(runner, tmp_dir_name, mock_logger, log_output):
"""
Tests basic restore cache functionality
Expand Down Expand Up @@ -150,7 +150,7 @@ def test_restore_cache_basic(runner, tmp_dir_name, mock_logger, log_output):
assert f"{file}\n" in output


@pytest.mark.serial
# @pytest.mark.serial
def test_restore_cache_no_cache(runner, mock_logger, log_output):
"""
Tests restore cache when a match is not found
Expand Down Expand Up @@ -181,7 +181,7 @@ def test_restore_cache_no_cache(runner, mock_logger, log_output):
assert f"{file}\n" not in output


@pytest.mark.serial
# @pytest.mark.serial
def test_restore_cache_prefix_matching(runner, tmp_dir_name, mock_logger, log_output):
"""
Tests restore cache when there is prefix matching
Expand Down Expand Up @@ -221,7 +221,7 @@ def test_restore_cache_prefix_matching(runner, tmp_dir_name, mock_logger, log_ou
assert f"{file}\n" in output


@pytest.mark.serial
# @pytest.mark.serial
def test_restore_cache_prefix_timestamps(runner, tmp_dir_name, mock_logger, log_output):
"""
Tests that when the cache prefix matches it chooses the most recent archive file
Expand Down Expand Up @@ -267,7 +267,7 @@ def test_restore_cache_prefix_timestamps(runner, tmp_dir_name, mock_logger, log_
assert f"{file}\n" in output


@pytest.mark.serial
# @pytest.mark.serial
def test_save_cache_basic(runner, tmp_dir_name, mock_logger):
"""
Test basic save cache functionality
Expand Down Expand Up @@ -302,7 +302,7 @@ def test_save_cache_basic(runner, tmp_dir_name, mock_logger):
assert file in extracted_files


@pytest.mark.serial
# @pytest.mark.serial
def test_save_cache_multiple_cache_keys(runner, tmp_dir_name, mock_logger):
"""
Test save cache functionality when there are multiple cache keys.
Expand Down Expand Up @@ -388,7 +388,7 @@ def test_save_cache_multiple_cache_keys(runner, tmp_dir_name, mock_logger):
assert file in extracted_files


@pytest.mark.serial
# @pytest.mark.serial
def test_save_cache_multiple_caches(runner, tmp_dir_name, mock_logger):
venv_cache_name = "venv"
venv_docker_path = "/root/venv_cache"
Expand Down

0 comments on commit 51eef7a

Please sign in to comment.