Skip to content

Commit 3ab858b

Browse files
authored
Missed redundant marks (#331)
1 parent 1b78730 commit 3ab858b

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tests/integration/new_relations/test_new_relations.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ async def test_deploy_charms(ops_test: OpsTest, charm):
7171
await ops_test.model.wait_for_idle(apps=APP_NAMES, status="active", timeout=3000)
7272

7373

74-
@pytest.mark.runner(["self-hosted", "linux", "X64", "jammy", "large"])
7574
@pytest.mark.group(1)
7675
async def test_no_read_only_endpoint_in_standalone_cluster(ops_test: OpsTest):
7776
"""Test that there is no read-only endpoint in a standalone cluster."""
@@ -119,7 +118,6 @@ async def test_no_read_only_endpoint_in_standalone_cluster(ops_test: OpsTest):
119118
)
120119

121120

122-
@pytest.mark.runner(["self-hosted", "linux", "X64", "jammy", "large"])
123121
@pytest.mark.group(1)
124122
async def test_read_only_endpoint_in_scaled_up_cluster(ops_test: OpsTest):
125123
"""Test that there is read-only endpoint in a scaled up cluster."""
@@ -138,7 +136,6 @@ async def test_read_only_endpoint_in_scaled_up_cluster(ops_test: OpsTest):
138136
)
139137

140138

141-
@pytest.mark.runner(["self-hosted", "linux", "X64", "jammy", "large"])
142139
@pytest.mark.group(1)
143140
async def test_database_relation_with_charm_libraries(ops_test: OpsTest):
144141
"""Test basic functionality of database relation interface."""
@@ -187,7 +184,6 @@ async def test_database_relation_with_charm_libraries(ops_test: OpsTest):
187184
cursor.execute("DROP TABLE test;")
188185

189186

190-
@pytest.mark.runner(["self-hosted", "linux", "X64", "jammy", "large"])
191187
@pytest.mark.group(1)
192188
async def test_user_with_extra_roles(ops_test: OpsTest):
193189
"""Test superuser actions and the request for more permissions."""
@@ -209,7 +205,6 @@ async def test_user_with_extra_roles(ops_test: OpsTest):
209205
connection.close()
210206

211207

212-
@pytest.mark.runner(["self-hosted", "linux", "X64", "jammy", "large"])
213208
@pytest.mark.group(1)
214209
async def test_two_applications_doesnt_share_the_same_relation_data(ops_test: OpsTest):
215210
"""Test that two different application connect to the database with different credentials."""
@@ -263,7 +258,6 @@ async def test_two_applications_doesnt_share_the_same_relation_data(ops_test: Op
263258
psycopg2.connect(connection_string)
264259

265260

266-
@pytest.mark.runner(["self-hosted", "linux", "X64", "jammy", "large"])
267261
@pytest.mark.group(1)
268262
async def test_an_application_can_connect_to_multiple_database_clusters(ops_test: OpsTest):
269263
"""Test that an application can connect to different clusters of the same database."""
@@ -295,7 +289,6 @@ async def test_an_application_can_connect_to_multiple_database_clusters(ops_test
295289
assert application_connection_string != another_application_connection_string
296290

297291

298-
@pytest.mark.runner(["self-hosted", "linux", "X64", "jammy", "large"])
299292
@pytest.mark.group(1)
300293
async def test_an_application_can_connect_to_multiple_aliased_database_clusters(ops_test: OpsTest):
301294
"""Test that an application can connect to different clusters of the same database."""
@@ -330,7 +323,6 @@ async def test_an_application_can_connect_to_multiple_aliased_database_clusters(
330323
assert application_connection_string != another_application_connection_string
331324

332325

333-
@pytest.mark.runner(["self-hosted", "linux", "X64", "jammy", "large"])
334326
@pytest.mark.group(1)
335327
async def test_an_application_can_request_multiple_databases(ops_test: OpsTest):
336328
"""Test that an application can request additional databases using the same interface."""
@@ -352,7 +344,6 @@ async def test_an_application_can_request_multiple_databases(ops_test: OpsTest):
352344
assert first_database_connection_string != second_database_connection_string
353345

354346

355-
@pytest.mark.runner(["self-hosted", "linux", "X64", "jammy", "large"])
356347
@pytest.mark.group(1)
357348
async def test_relation_data_is_updated_correctly_when_scaling(ops_test: OpsTest):
358349
"""Test that relation data, like connection data, is updated correctly when scaling."""
@@ -420,7 +411,6 @@ async def test_relation_data_is_updated_correctly_when_scaling(ops_test: OpsTest
420411
psycopg2.connect(primary_connection_string)
421412

422413

423-
@pytest.mark.runner(["self-hosted", "linux", "X64", "jammy", "large"])
424414
@pytest.mark.group(1)
425415
async def test_relation_with_no_database_name(ops_test: OpsTest):
426416
"""Test that a relation with no database name doesn't block the charm."""
@@ -438,7 +428,6 @@ async def test_relation_with_no_database_name(ops_test: OpsTest):
438428
await ops_test.model.wait_for_idle(apps=APP_NAMES, status="active", raise_on_blocked=True)
439429

440430

441-
@pytest.mark.runner(["self-hosted", "linux", "X64", "jammy", "large"])
442431
@pytest.mark.group(1)
443432
async def test_admin_role(ops_test: OpsTest):
444433
"""Test that the admin role gives access to all the databases."""
@@ -524,7 +513,6 @@ async def test_admin_role(ops_test: OpsTest):
524513
connection.close()
525514

526515

527-
@pytest.mark.runner(["self-hosted", "linux", "X64", "jammy", "large"])
528516
@pytest.mark.group(1)
529517
async def test_invalid_extra_user_roles(ops_test: OpsTest):
530518
async with ops_test.fast_forward():

0 commit comments

Comments
 (0)