File tree Expand file tree Collapse file tree 3 files changed +5
-14
lines changed Expand file tree Collapse file tree 3 files changed +5
-14
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ jobs:
116
116
- juju-snap-channel : " 2.9/stable"
117
117
agent-version : " 2.9.45"
118
118
libjuju-version : " 2.9.44.1"
119
+ if : ${{ ! (matrix.groups.path_to_test_file == "tests/integration/test_data_integrator.py" && matrix.ubuntu-versions.series == "focal") }}
119
120
name : ${{ matrix.juju-snap-channel }} - (GH hosted) ${{ matrix.groups.job_name }} | ${{ matrix.ubuntu-versions.series }}
120
121
needs :
121
122
- lint
@@ -156,7 +157,9 @@ jobs:
156
157
echo "mark_expression=not unstable" >> "$GITHUB_OUTPUT"
157
158
fi
158
159
- name : Run integration tests
159
- run : tox run -e integration -- "${{ matrix.groups.path_to_test_file }}" --group="${{ matrix.groups.group_number }}" -m '${{ steps.select-test-stability.outputs.mark_expression }}' --mysql-router-charm-series=${{ matrix.ubuntu-versions.series }} --mysql-router-charm-bases-index=${{ matrix.ubuntu-versions.bases-index }}
160
+ if :
161
+ run :
162
+ tox run -e integration -- "${{ matrix.groups.path_to_test_file }}" --group="${{ matrix.groups.group_number }}" -m '${{ steps.select-test-stability.outputs.mark_expression }}' --mysql-router-charm-series=${{ matrix.ubuntu-versions.series }} --mysql-router-charm-bases-index=${{ matrix.ubuntu-versions.bases-index }}
160
163
env :
161
164
LIBJUJU_VERSION_SPECIFIER : ${{ matrix.libjuju-version }}
162
165
SECRETS_FROM_GITHUB : |
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9
9
import pytest
10
10
from pytest_operator .plugin import OpsTest
11
11
12
- from . import juju_ , markers
12
+ from . import juju_
13
13
from .helpers import execute_queries_against_unit , get_tls_certificate_issuer
14
14
15
15
logger = logging .getLogger (__name__ )
@@ -41,7 +41,6 @@ async def get_data_integrator_credentials(ops_test: OpsTest) -> typing.Dict:
41
41
42
42
@pytest .mark .group (1 )
43
43
@pytest .mark .abort_on_fail
44
- @markers .only_with_juju_secrets
45
44
async def test_external_connectivity_with_data_integrator (
46
45
ops_test : OpsTest , mysql_router_charm_series : str
47
46
) -> None :
@@ -104,7 +103,6 @@ async def test_external_connectivity_with_data_integrator(
104
103
105
104
@pytest .mark .group (1 )
106
105
@pytest .mark .abort_on_fail
107
- @markers .only_with_juju_secrets
108
106
async def test_external_connectivity_with_data_integrator_and_tls (ops_test : OpsTest ) -> None :
109
107
"""Test data integrator along with TLS operator"""
110
108
logger .info ("Ensuring no data exists in the test database" )
You can’t perform that action at this time.
0 commit comments