Skip to content

Commit

Permalink
fix(integration-tests): update versions used
Browse files Browse the repository at this point in the history
some images of older branches aren't available anymore
we shouldn't be using that old release in those tests

we should find a better way to stop those test from breaking
but for now let just move them to newer versions
  • Loading branch information
fruch committed Jan 6, 2025
1 parent 113a0bf commit 09fa6c1
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions unit_tests/test_config_get_version_based_on_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,21 +105,19 @@ def test_scylla_repo(scylla_version, expected_outcome, distro):

@pytest.mark.parametrize(argnames='scylla_version, expected_outcome',
argvalues=[
pytest.param('6.1', ('6.1', False), id='6.1'),
pytest.param('2024.1', ('2024.1', True), id='2024.1'),
pytest.param('6.2', ('6.2', False), id='6.2'),
pytest.param('2024.2', ('2024.2', True), id='2024.2'),
pytest.param('master:latest', (None, False), id='master'),
pytest.param('branch-6.0:latest', (None, False), id='branch-6.0'),
pytest.param('branch-6.2:latest', (None, False), id='branch-6.2'),
pytest.param('enterprise:latest', (None, True), id='enterprise'),
pytest.param('branch-2023.1:latest', (None, True), id='branch-2023.1'),
pytest.param('branch-2024.1:latest', (None, True), id='branch-2024.1'),
pytest.param('branch-2024.2:latest', (None, True), id='branch-2024.2'),
],
)
@pytest.mark.parametrize(argnames='backend',
argvalues=('aws', 'gce', 'azure')
)
def test_images(backend, scylla_version, expected_outcome):
if backend == "azure" and "2023.1" in scylla_version:
pytest.skip("Azure doesn't have 2023.1 images anymore")
os.environ['SCT_CLUSTER_BACKEND'] = backend
os.environ['SCT_SCYLLA_VERSION'] = scylla_version

Expand Down

0 comments on commit 09fa6c1

Please sign in to comment.